pub struct HalfLife(/* private fields */);
Expand description
The half-life is defined as the duration required for a particular quantity to drop to 50% of the original value.
Implementations§
Trait Implementations§
Source§impl From<DecayConstant> for HalfLife
impl From<DecayConstant> for HalfLife
Source§fn from(value: DecayConstant) -> Self
fn from(value: DecayConstant) -> Self
Converts to this type from the input type.
Source§impl From<MeanLifetime> for HalfLife
impl From<MeanLifetime> for HalfLife
Source§fn from(value: MeanLifetime) -> Self
fn from(value: MeanLifetime) -> Self
Converts to this type from the input type.
Source§impl Ord for HalfLife
impl Ord for HalfLife
Source§impl PartialOrd for HalfLife
impl PartialOrd for HalfLife
impl Copy for HalfLife
impl Eq 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