pub struct NoAbundances;Expand description
An AbundanceProvider that knows no isotopes.
Every lookup returns None, so expansions fail explicitly with
FormulaError::NoAbundanceData.
Trait Implementations§
Source§impl AbundanceProvider for NoAbundances
impl AbundanceProvider for NoAbundances
Source§impl Clone for NoAbundances
impl Clone for NoAbundances
Source§fn clone(&self) -> NoAbundances
fn clone(&self) -> NoAbundances
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 moreimpl Copy for NoAbundances
Source§impl Debug for NoAbundances
impl Debug for NoAbundances
Source§impl Default for NoAbundances
impl Default for NoAbundances
Source§fn default() -> NoAbundances
fn default() -> NoAbundances
Returns the “default value” for a type. Read more
impl Eq for NoAbundances
Source§impl PartialEq for NoAbundances
impl PartialEq for NoAbundances
impl StructuralPartialEq for NoAbundances
Auto Trait Implementations§
impl Freeze for NoAbundances
impl RefUnwindSafe for NoAbundances
impl Send for NoAbundances
impl Sync for NoAbundances
impl Unpin for NoAbundances
impl UnsafeUnpin for NoAbundances
impl UnwindSafe for NoAbundances
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