[][src]Struct chemfiles::FormatMetadata

pub struct FormatMetadata {
    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,
}

FormatMetadata contains metdata 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

impl Clone for FormatMetadata[src]

impl Debug for FormatMetadata[src]

impl Eq for FormatMetadata[src]

impl PartialEq<FormatMetadata> for FormatMetadata[src]

impl StructuralEq for FormatMetadata[src]

impl StructuralPartialEq for FormatMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for FormatMetadata

impl Send for FormatMetadata

impl Sync for FormatMetadata

impl Unpin for FormatMetadata

impl UnwindSafe for FormatMetadata

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.