pub enum CrystalSystem {
Cubic,
Tetragonal,
Orthorhombic,
Hexagonal,
Trigonal,
Monoclinic,
Triclinic,
Amorphous,
Unknown,
Custom(String),
}Variants§
Cubic
Tetragonal
Orthorhombic
Hexagonal
Trigonal
Monoclinic
Triclinic
Amorphous
Unknown
Custom(String)
Trait Implementations§
Source§impl Clone for CrystalSystem
impl Clone for CrystalSystem
Source§fn clone(&self) -> CrystalSystem
fn clone(&self) -> CrystalSystem
Returns a duplicate 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 CrystalSystem
impl Debug for CrystalSystem
Source§impl Display for CrystalSystem
impl Display for CrystalSystem
Source§impl FromStr for CrystalSystem
impl FromStr for CrystalSystem
Source§impl Hash for CrystalSystem
impl Hash for CrystalSystem
Source§impl Ord for CrystalSystem
impl Ord for CrystalSystem
Source§fn cmp(&self, other: &CrystalSystem) -> Ordering
fn cmp(&self, other: &CrystalSystem) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CrystalSystem
impl PartialEq for CrystalSystem
Source§impl PartialOrd for CrystalSystem
impl PartialOrd for CrystalSystem
impl Eq for CrystalSystem
impl StructuralPartialEq for CrystalSystem
Auto Trait Implementations§
impl Freeze for CrystalSystem
impl RefUnwindSafe for CrystalSystem
impl Send for CrystalSystem
impl Sync for CrystalSystem
impl Unpin for CrystalSystem
impl UnsafeUnpin for CrystalSystem
impl UnwindSafe for CrystalSystem
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