Enum acme_graphs::ops::UnaryExpr
source · #[repr(u8)]pub enum UnaryExpr {
Show 16 variants
Abs = 0,
Ceil = 1,
Cos = 2,
Cosh = 3,
Exp = 4,
Inverse = 5,
Floor = 6,
Log = 7,
Neg = 8,
Round = 9,
Rsqrt = 10,
Sin = 11,
Sinh = 12,
Sqrt = 13,
Tan = 14,
Tanh = 15,
}Variants§
Abs = 0
Ceil = 1
Cos = 2
Cosh = 3
Exp = 4
Inverse = 5
Floor = 6
Log = 7
Neg = 8
Round = 9
Rsqrt = 10
Sin = 11
Sinh = 12
Sqrt = 13
Tan = 14
Tanh = 15
Implementations§
source§impl UnaryExpr
impl UnaryExpr
sourcepub const fn is_ceil(&self) -> bool
pub const fn is_ceil(&self) -> bool
Returns true if the enum is UnaryExpr::Ceil otherwise false
sourcepub const fn is_cosh(&self) -> bool
pub const fn is_cosh(&self) -> bool
Returns true if the enum is UnaryExpr::Cosh otherwise false
sourcepub const fn is_inverse(&self) -> bool
pub const fn is_inverse(&self) -> bool
Returns true if the enum is UnaryExpr::Inverse otherwise false
sourcepub const fn is_floor(&self) -> bool
pub const fn is_floor(&self) -> bool
Returns true if the enum is UnaryExpr::Floor otherwise false
sourcepub const fn is_round(&self) -> bool
pub const fn is_round(&self) -> bool
Returns true if the enum is UnaryExpr::Round otherwise false
sourcepub const fn is_rsqrt(&self) -> bool
pub const fn is_rsqrt(&self) -> bool
Returns true if the enum is UnaryExpr::Rsqrt otherwise false
sourcepub const fn is_sinh(&self) -> bool
pub const fn is_sinh(&self) -> bool
Returns true if the enum is UnaryExpr::Sinh otherwise false
Trait Implementations§
source§impl<'de> Deserialize<'de> for UnaryExpr
impl<'de> Deserialize<'de> for UnaryExpr
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<UnaryExpr> for Operations
impl From<UnaryExpr> for Operations
source§impl IntoEnumIterator for UnaryExpr
impl IntoEnumIterator for UnaryExpr
type Iterator = UnaryExprIter
fn iter() -> UnaryExprIter ⓘ
source§impl Ord for UnaryExpr
impl Ord for UnaryExpr
source§impl PartialEq for UnaryExpr
impl PartialEq for UnaryExpr
source§impl PartialOrd for UnaryExpr
impl PartialOrd for UnaryExpr
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl VariantNames for UnaryExpr
impl VariantNames for UnaryExpr
impl Copy for UnaryExpr
impl Eq for UnaryExpr
impl StructuralPartialEq for UnaryExpr
Auto Trait Implementations§
impl Freeze for UnaryExpr
impl RefUnwindSafe for UnaryExpr
impl Send for UnaryExpr
impl Sync for UnaryExpr
impl Unpin for UnaryExpr
impl UnwindSafe for UnaryExpr
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.