#[non_exhaustive]pub struct Isotope {
pub mass: f64,
pub abundance: f64,
pub mass_number: u32,
}Expand description
One isotope of an Element.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mass: f64Mass in daltons.
abundance: f64Natural abundance, between 0 and 1.
mass_number: u32Nucleon number.
Trait Implementations§
impl Copy for Isotope
impl StructuralPartialEq for Isotope
Auto Trait Implementations§
impl Freeze for Isotope
impl RefUnwindSafe for Isotope
impl Send for Isotope
impl Sync for Isotope
impl Unpin for Isotope
impl UnsafeUnpin for Isotope
impl UnwindSafe for Isotope
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