pub struct HalfLife {
pub value: f64,
pub uncertainty: f64,
pub unit: TimeUnit,
}Expand description
An isotope’s half-life
Fields§
§value: f64The half-life in the TimeUnit
uncertainty: f64The uncertainty of the half-life in the TimeUnit
unit: TimeUnitThe unit used for the measurements
Implementations§
Trait Implementations§
Source§impl PartialOrd for HalfLife
impl PartialOrd for HalfLife
impl Copy for HalfLife
impl StructuralPartialEq for HalfLife
Auto Trait Implementations§
impl Freeze for HalfLife
impl RefUnwindSafe for HalfLife
impl Send for HalfLife
impl Sync for HalfLife
impl Unpin for HalfLife
impl UnwindSafe for HalfLife
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