pub struct MolMetadata {
pub name: String,
pub comment: String,
}Expand description
Metadata extracted from the three-line MOL header.
Fields§
§name: StringMolecule name from header line 1.
comment: StringComment string from header line 3.
Implementations§
Source§impl MolMetadata
impl MolMetadata
Trait Implementations§
Source§impl Clone for MolMetadata
impl Clone for MolMetadata
Source§fn clone(&self) -> MolMetadata
fn clone(&self) -> MolMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MolMetadata
impl Debug for MolMetadata
Source§impl Default for MolMetadata
impl Default for MolMetadata
Source§fn default() -> MolMetadata
fn default() -> MolMetadata
Returns the “default value” for a type. Read more
impl Eq for MolMetadata
Source§impl PartialEq for MolMetadata
impl PartialEq for MolMetadata
Source§fn eq(&self, other: &MolMetadata) -> bool
fn eq(&self, other: &MolMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MolMetadata
Auto Trait Implementations§
impl Freeze for MolMetadata
impl RefUnwindSafe for MolMetadata
impl Send for MolMetadata
impl Sync for MolMetadata
impl Unpin for MolMetadata
impl UnsafeUnpin for MolMetadata
impl UnwindSafe for MolMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more