pub struct DCMolecularField {
base_field: DCField,
atomic_fields: Vec<DCAtomicField>,
}Expand description
An abstract field which provides an interface to access multiple atomic fields under one field and one identifier.
Fields§
§base_field: DCField§atomic_fields: Vec<DCAtomicField>Implementations§
Source§impl DCMolecularField
impl DCMolecularField
pub fn get_num_atomics(&self) -> usize
pub fn get_atomic_field(&self, index: usize) -> Option<&DCAtomicField>
Trait Implementations§
Source§impl Debug for DCMolecularField
impl Debug for DCMolecularField
Source§impl Display for DCMolecularField
impl Display for DCMolecularField
Source§impl LegacyDCHash for DCMolecularField
impl LegacyDCHash for DCMolecularField
Source§fn generate_hash(&self, hashgen: &mut DCHashGenerator)
fn generate_hash(&self, hashgen: &mut DCHashGenerator)
Accumulates the properties of this DC element into the file hash.
Auto Trait Implementations§
impl Freeze for DCMolecularField
impl RefUnwindSafe for DCMolecularField
impl Send for DCMolecularField
impl Sync for DCMolecularField
impl Unpin for DCMolecularField
impl UnwindSafe for DCMolecularField
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