pub struct GammaThreshold { /* private fields */ }Expand description
Threshold gamma: returns 0 if x < threshold, 1 otherwise.
Port of C++ gamma_threshold.
Implementations§
Trait Implementations§
Source§impl Clone for GammaThreshold
impl Clone for GammaThreshold
Source§fn clone(&self) -> GammaThreshold
fn clone(&self) -> GammaThreshold
Returns a duplicate 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 GammaThreshold
impl Debug for GammaThreshold
Source§impl Default for GammaThreshold
impl Default for GammaThreshold
Source§impl GammaFunction for GammaThreshold
impl GammaFunction for GammaThreshold
impl Copy for GammaThreshold
Auto Trait Implementations§
impl Freeze for GammaThreshold
impl RefUnwindSafe for GammaThreshold
impl Send for GammaThreshold
impl Sync for GammaThreshold
impl Unpin for GammaThreshold
impl UnwindSafe for GammaThreshold
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