pub struct SmallCifStructure {
pub name: Box<str>,
pub cell: Option<UnitCell>,
pub space_group_name: Option<Box<str>>,
pub space_group_number: Option<i32>,
pub symmetry_operations: Vec<Box<str>>,
pub atoms: Vec<SmallCifAtom>,
pub bonds: Vec<SmallCifBond>,
}Expand description
One core-CIF crystal model.
Fields§
§name: Box<str>Data-block identifier.
cell: Option<UnitCell>Unit cell.
space_group_name: Option<Box<str>>Hermann-Mauguin space-group name.
space_group_number: Option<i32>International Tables space-group number.
symmetry_operations: Vec<Box<str>>Explicit symmetry operations in source order.
atoms: Vec<SmallCifAtom>Atom sites in source order.
bonds: Vec<SmallCifBond>Resolved geometric bonds.
Trait Implementations§
Source§impl Clone for SmallCifStructure
impl Clone for SmallCifStructure
Source§impl Debug for SmallCifStructure
impl Debug for SmallCifStructure
Source§impl PartialEq for SmallCifStructure
impl PartialEq for SmallCifStructure
impl StructuralPartialEq for SmallCifStructure
Auto Trait Implementations§
impl Freeze for SmallCifStructure
impl RefUnwindSafe for SmallCifStructure
impl Send for SmallCifStructure
impl Sync for SmallCifStructure
impl Unpin for SmallCifStructure
impl UnsafeUnpin for SmallCifStructure
impl UnwindSafe for SmallCifStructure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more