#[non_exhaustive]pub enum Masses {
Exact,
Nominal,
}Expand description
Which isotope masses a molecule is built with.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Exact
The isotopes’ real masses.
Nominal
Nucleon numbers instead of masses (so 12.0 and 13.0 for carbon).
Trait Implementations§
impl Copy for Masses
impl Eq for Masses
impl StructuralPartialEq for Masses
Auto Trait Implementations§
impl Freeze for Masses
impl RefUnwindSafe for Masses
impl Send for Masses
impl Sync for Masses
impl Unpin for Masses
impl UnsafeUnpin for Masses
impl UnwindSafe for Masses
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