pub struct IsotopicMass {
pub awr: f64,
pub abundance: f64,
pub spin_groups: Vec<u32>,
}Expand description
Per-isotope mass and abundance entry from “ISOTOPIC MASSES AND ABUNDANCES
FOLLOW” section in a SAMMY .par file.
SAMMY Ref: IsotopicMassesAndAbundances.cpp, Manual Section II.B.1.e
Fields§
§awr: f64Atomic weight ratio (target mass / neutron mass) for this isotope.
abundance: f64Fractional abundance (number fraction) of this isotope in the sample.
spin_groups: Vec<u32>1-based spin group indices assigned to this isotope.
Trait Implementations§
Source§impl Clone for IsotopicMass
impl Clone for IsotopicMass
Source§fn clone(&self) -> IsotopicMass
fn clone(&self) -> IsotopicMass
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 moreAuto Trait Implementations§
impl Freeze for IsotopicMass
impl RefUnwindSafe for IsotopicMass
impl Send for IsotopicMass
impl Sync for IsotopicMass
impl Unpin for IsotopicMass
impl UnsafeUnpin for IsotopicMass
impl UnwindSafe for IsotopicMass
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