pub enum CompoundRegistry {
CasNumber,
PubChemCid,
Inchi,
InchiKey,
Smiles,
Custom(String),
}Expand description
A compound identifier registry namespace.
Variants§
CasNumber
CAS Registry Number namespace.
PubChemCid
PubChem Compound Identifier namespace.
Inchi
InChI namespace.
InchiKey
InChIKey namespace.
Smiles
SMILES namespace.
Custom(String)
A custom namespace.
Implementations§
Trait Implementations§
Source§impl Clone for CompoundRegistry
impl Clone for CompoundRegistry
Source§fn clone(&self) -> CompoundRegistry
fn clone(&self) -> CompoundRegistry
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 CompoundRegistry
impl Debug for CompoundRegistry
Source§impl Display for CompoundRegistry
impl Display for CompoundRegistry
Source§impl Hash for CompoundRegistry
impl Hash for CompoundRegistry
Source§impl Ord for CompoundRegistry
impl Ord for CompoundRegistry
Source§fn cmp(&self, other: &CompoundRegistry) -> Ordering
fn cmp(&self, other: &CompoundRegistry) -> 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 CompoundRegistry
impl PartialEq for CompoundRegistry
Source§fn eq(&self, other: &CompoundRegistry) -> bool
fn eq(&self, other: &CompoundRegistry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CompoundRegistry
impl PartialOrd for CompoundRegistry
impl Eq for CompoundRegistry
impl StructuralPartialEq for CompoundRegistry
Auto Trait Implementations§
impl Freeze for CompoundRegistry
impl RefUnwindSafe for CompoundRegistry
impl Send for CompoundRegistry
impl Sync for CompoundRegistry
impl Unpin for CompoundRegistry
impl UnsafeUnpin for CompoundRegistry
impl UnwindSafe for CompoundRegistry
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