#[repr(u32)]pub enum UnaryArithmeticOp {
Show 32 variants
Identity = 0,
Exponent = 1,
ExponentBase2 = 2,
ExponentBase10 = 3,
Logarithm = 4,
LogarithmBase2 = 5,
LogarithmBase10 = 6,
Square = 7,
SquareRoot = 8,
Reciprocal = 9,
Absolute = 10,
Negative = 11,
Sign = 12,
SignBit = 13,
Ceil = 14,
Floor = 15,
Round = 16,
Rint = 17,
Sin = 18,
Cos = 19,
Tan = 20,
Sinh = 21,
Cosh = 22,
Tanh = 23,
Asin = 24,
Acos = 25,
Atan = 26,
Asinh = 27,
Acosh = 28,
Atanh = 29,
IsNaN = 30,
IsInfinite = 31,
}Variants§
Identity = 0
Exponent = 1
ExponentBase2 = 2
ExponentBase10 = 3
Logarithm = 4
LogarithmBase2 = 5
LogarithmBase10 = 6
Square = 7
SquareRoot = 8
Reciprocal = 9
Absolute = 10
Negative = 11
Sign = 12
SignBit = 13
Ceil = 14
Floor = 15
Round = 16
Rint = 17
Sin = 18
Cos = 19
Tan = 20
Sinh = 21
Cosh = 22
Tanh = 23
Asin = 24
Acos = 25
Atan = 26
Asinh = 27
Acosh = 28
Atanh = 29
IsNaN = 30
IsInfinite = 31
Trait Implementations§
Source§impl Clone for UnaryArithmeticOp
impl Clone for UnaryArithmeticOp
Source§fn clone(&self) -> UnaryArithmeticOp
fn clone(&self) -> UnaryArithmeticOp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnaryArithmeticOp
impl Debug for UnaryArithmeticOp
Source§impl PartialEq for UnaryArithmeticOp
impl PartialEq for UnaryArithmeticOp
Source§fn eq(&self, other: &UnaryArithmeticOp) -> bool
fn eq(&self, other: &UnaryArithmeticOp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UnaryArithmeticOp
impl Eq for UnaryArithmeticOp
impl StructuralPartialEq for UnaryArithmeticOp
Auto Trait Implementations§
impl Freeze for UnaryArithmeticOp
impl RefUnwindSafe for UnaryArithmeticOp
impl Send for UnaryArithmeticOp
impl Sync for UnaryArithmeticOp
impl Unpin for UnaryArithmeticOp
impl UnsafeUnpin for UnaryArithmeticOp
impl UnwindSafe for UnaryArithmeticOp
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