pub enum GFunc {
Logcosh(f64),
Exp,
Cube,
}
Expand description
Some standard non-linear functions
Variants§
Trait Implementations§
source§impl PartialEq for GFunc
impl PartialEq for GFunc
impl Copy for GFunc
impl StructuralPartialEq for GFunc
Auto Trait Implementations§
impl RefUnwindSafe for GFunc
impl Send for GFunc
impl Sync for GFunc
impl Unpin for GFunc
impl UnwindSafe for GFunc
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