pub enum CompoundKind {
Molecular,
Ionic,
Organic,
Inorganic,
Acid,
Base,
Salt,
Hydrate,
Coordination,
Unknown,
}Expand description
A lightweight compound classification label.
Variants§
Molecular
A molecular compound.
Ionic
An ionic compound.
Organic
An organic compound.
Inorganic
An inorganic compound.
Acid
An acid.
Base
A base.
Salt
A salt.
Hydrate
A hydrate.
Coordination
A coordination compound.
Unknown
Unknown or intentionally unspecified classification.
Trait Implementations§
Source§impl Clone for CompoundKind
impl Clone for CompoundKind
Source§fn clone(&self) -> CompoundKind
fn clone(&self) -> CompoundKind
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 CompoundKind
impl Debug for CompoundKind
Source§impl Display for CompoundKind
impl Display for CompoundKind
Source§impl Hash for CompoundKind
impl Hash for CompoundKind
Source§impl Ord for CompoundKind
impl Ord for CompoundKind
Source§fn cmp(&self, other: &CompoundKind) -> Ordering
fn cmp(&self, other: &CompoundKind) -> 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 CompoundKind
impl PartialEq for CompoundKind
Source§fn eq(&self, other: &CompoundKind) -> bool
fn eq(&self, other: &CompoundKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CompoundKind
impl PartialOrd for CompoundKind
impl Copy for CompoundKind
impl Eq for CompoundKind
impl StructuralPartialEq for CompoundKind
Auto Trait Implementations§
impl Freeze for CompoundKind
impl RefUnwindSafe for CompoundKind
impl Send for CompoundKind
impl Sync for CompoundKind
impl Unpin for CompoundKind
impl UnsafeUnpin for CompoundKind
impl UnwindSafe for CompoundKind
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