pub enum MoleculeKind {
Neutral,
Ion,
Radical,
Diatomic,
Polyatomic,
Organic,
Inorganic,
Biomolecule,
Unknown,
}Expand description
A lightweight molecule classification label.
Variants§
Neutral
Neutral molecule.
Ion
Molecular ion.
Radical
Radical.
Diatomic
Diatomic molecule.
Polyatomic
Polyatomic molecule.
Organic
Organic molecule.
Inorganic
Inorganic molecule.
Biomolecule
Biomolecule.
Unknown
Unknown or intentionally unspecified classification.
Trait Implementations§
Source§impl Clone for MoleculeKind
impl Clone for MoleculeKind
Source§fn clone(&self) -> MoleculeKind
fn clone(&self) -> MoleculeKind
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 MoleculeKind
impl Debug for MoleculeKind
Source§impl Display for MoleculeKind
impl Display for MoleculeKind
Source§impl Hash for MoleculeKind
impl Hash for MoleculeKind
Source§impl Ord for MoleculeKind
impl Ord for MoleculeKind
Source§fn cmp(&self, other: &MoleculeKind) -> Ordering
fn cmp(&self, other: &MoleculeKind) -> Ordering
1.21.0 (const: unstable) · 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 MoleculeKind
impl PartialEq for MoleculeKind
Source§fn eq(&self, other: &MoleculeKind) -> bool
fn eq(&self, other: &MoleculeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MoleculeKind
impl PartialOrd for MoleculeKind
impl Copy for MoleculeKind
impl Eq for MoleculeKind
impl StructuralPartialEq for MoleculeKind
Auto Trait Implementations§
impl Freeze for MoleculeKind
impl RefUnwindSafe for MoleculeKind
impl Send for MoleculeKind
impl Sync for MoleculeKind
impl Unpin for MoleculeKind
impl UnsafeUnpin for MoleculeKind
impl UnwindSafe for MoleculeKind
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