pub struct DecayConstant(/* private fields */);
Expand description
Exponential Decay Rate Constant (1/Tau)
Trait Implementations§
Source§impl Clone for DecayConstant
impl Clone for DecayConstant
Source§fn clone(&self) -> DecayConstant
fn clone(&self) -> DecayConstant
Returns a copy 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 moreSource§impl Debug for DecayConstant
impl Debug for DecayConstant
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<DecayConstant> for MeanLifetime
impl From<DecayConstant> for MeanLifetime
Source§fn from(value: DecayConstant) -> Self
fn from(value: DecayConstant) -> Self
Converts to this type from the input type.
Source§impl From<Duration> for DecayConstant
impl From<Duration> for DecayConstant
Source§impl From<MeanLifetime> for DecayConstant
impl From<MeanLifetime> for DecayConstant
Source§fn from(value: MeanLifetime) -> Self
fn from(value: MeanLifetime) -> Self
Converts to this type from the input type.
Source§impl Ord for DecayConstant
impl Ord for DecayConstant
Source§fn cmp(&self, other: &DecayConstant) -> Ordering
fn cmp(&self, other: &DecayConstant) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DecayConstant
impl PartialEq for DecayConstant
Source§impl PartialOrd for DecayConstant
impl PartialOrd for DecayConstant
impl Copy for DecayConstant
impl Eq for DecayConstant
impl StructuralPartialEq for DecayConstant
Auto Trait Implementations§
impl Freeze for DecayConstant
impl RefUnwindSafe for DecayConstant
impl Send for DecayConstant
impl Sync for DecayConstant
impl Unpin for DecayConstant
impl UnwindSafe for DecayConstant
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