pub enum DecayFunction {
Linear,
Exp,
Gauss,
}
Expand description
Variants§
Trait Implementations§
Source§impl Clone for DecayFunction
impl Clone for DecayFunction
Source§fn clone(&self) -> DecayFunction
fn clone(&self) -> DecayFunction
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 DecayFunction
impl Debug for DecayFunction
Source§impl Ord for DecayFunction
impl Ord for DecayFunction
Source§fn cmp(&self, other: &DecayFunction) -> Ordering
fn cmp(&self, other: &DecayFunction) -> 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 DecayFunction
impl PartialEq for DecayFunction
Source§impl PartialOrd for DecayFunction
impl PartialOrd for DecayFunction
Source§impl Serialize for DecayFunction
impl Serialize for DecayFunction
impl Copy for DecayFunction
impl Eq for DecayFunction
impl StructuralPartialEq for DecayFunction
Auto Trait Implementations§
impl Freeze for DecayFunction
impl RefUnwindSafe for DecayFunction
impl Send for DecayFunction
impl Sync for DecayFunction
impl Unpin for DecayFunction
impl UnwindSafe for DecayFunction
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