#[repr(C)]pub enum UnaryFunctionKind {
Show 13 variants
Exp = 0,
Log = 1,
Abs = 2,
Ceil = 3,
Floor = 4,
NegF = 5,
Reciprocal = 6,
Round = 7,
Sqrt = 8,
Rsqrt = 9,
Square = 10,
Tanh = 11,
Erf = 12,
}
Variants§
Exp = 0
Log = 1
Abs = 2
Ceil = 3
Floor = 4
NegF = 5
Reciprocal = 6
Round = 7
Sqrt = 8
Rsqrt = 9
Square = 10
Tanh = 11
Erf = 12
Implementations§
Trait Implementations§
Source§impl Clone for UnaryFunctionKind
impl Clone for UnaryFunctionKind
Source§fn clone(&self) -> UnaryFunctionKind
fn clone(&self) -> UnaryFunctionKind
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 Display for UnaryFunctionKind
impl Display for UnaryFunctionKind
Source§impl From<UnaryFunctionKind> for Op
impl From<UnaryFunctionKind> for Op
Source§fn from(k: UnaryFunctionKind) -> Self
fn from(k: UnaryFunctionKind) -> Self
Converts to this type from the input type.
Source§impl From<i32> for UnaryFunctionKind
impl From<i32> for UnaryFunctionKind
Source§impl PartialEq for UnaryFunctionKind
impl PartialEq for UnaryFunctionKind
impl Copy for UnaryFunctionKind
impl StructuralPartialEq for UnaryFunctionKind
Auto Trait Implementations§
impl Freeze for UnaryFunctionKind
impl RefUnwindSafe for UnaryFunctionKind
impl Send for UnaryFunctionKind
impl Sync for UnaryFunctionKind
impl Unpin for UnaryFunctionKind
impl UnwindSafe for UnaryFunctionKind
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