pub enum AtomicWeight {
Interval {
range: RangeInclusive<f64>,
conventional: f64,
},
Uncertainty {
weight: f64,
uncertainty: f64,
},
MassNumber {
number: u64,
},
}Expand description
The Standard Atomic Weight as defined by the CIAAW
Variants§
Interval
Value defined as an interval
Fields
§
range: RangeInclusive<f64>Interval of atomic weights
Uncertainty
Value defined with uncertainty
MassNumber
Atomic weight not known, default to the mass number of the most stable isotope
Trait Implementations§
Source§impl Clone for AtomicWeight
impl Clone for AtomicWeight
Source§fn clone(&self) -> AtomicWeight
fn clone(&self) -> AtomicWeight
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 AtomicWeight
impl Debug for AtomicWeight
Source§impl Display for AtomicWeight
impl Display for AtomicWeight
Source§impl From<&AtomicWeight> for f64
impl From<&AtomicWeight> for f64
Source§fn from(weight: &AtomicWeight) -> Self
fn from(weight: &AtomicWeight) -> Self
Converts to this type from the input type.
Source§impl From<AtomicWeight> for f64
impl From<AtomicWeight> for f64
Source§fn from(weight: AtomicWeight) -> Self
fn from(weight: AtomicWeight) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AtomicWeight
impl PartialEq for AtomicWeight
Source§impl PartialOrd for AtomicWeight
impl PartialOrd for AtomicWeight
impl StructuralPartialEq for AtomicWeight
Auto Trait Implementations§
impl Freeze for AtomicWeight
impl RefUnwindSafe for AtomicWeight
impl Send for AtomicWeight
impl Sync for AtomicWeight
impl Unpin for AtomicWeight
impl UnwindSafe for AtomicWeight
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