Struct chemfiles::FormatMetadata[][src]

pub struct FormatMetadata {
Show 13 fields pub name: &'static str, pub extension: Option<&'static str>, pub description: &'static str, pub reference: &'static str, pub read: bool, pub write: bool, pub memory: bool, pub positions: bool, pub velocities: bool, pub unit_cell: bool, pub atoms: bool, pub bonds: bool, pub residues: bool,
}
Expand description

FormatMetadata contains metadata associated with one format.

Fields

name: &'static str

Name of the format.

extension: Option<&'static str>

Extension associated with the format.

description: &'static str

Extended, user-facing description of the format.

reference: &'static str

URL pointing to the format definition/reference.

read: bool

Is reading files in this format implemented?

write: bool

Is writing files in this format implemented?

memory: bool

Does this format support in-memory IO?

positions: bool

Does this format support storing atomic positions?

velocities: bool

Does this format support storing atomic velocities?

unit_cell: bool

Does this format support storing unit cell information?

atoms: bool

Does this format support storing atom names or types?

bonds: bool

Does this format support storing bonds between atoms?

residues: bool

Does this format support storing residues?

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.