Struct chemfiles::FormatMetadata
source · 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§
source§impl Clone for FormatMetadata
impl Clone for FormatMetadata
source§fn clone(&self) -> FormatMetadata
fn clone(&self) -> FormatMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FormatMetadata
impl Debug for FormatMetadata
source§impl PartialEq<FormatMetadata> for FormatMetadata
impl PartialEq<FormatMetadata> for FormatMetadata
source§fn eq(&self, other: &FormatMetadata) -> bool
fn eq(&self, other: &FormatMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.