Enum acme_graphs::ops::CompareExpr
source · #[repr(u8)]pub enum CompareExpr {
Eq = 0,
Ge = 1,
Gt = 2,
Le = 3,
Lt = 4,
Ne = 5,
}Variants§
Implementations§
source§impl CompareExpr
impl CompareExpr
Trait Implementations§
source§impl Clone for CompareExpr
impl Clone for CompareExpr
source§fn clone(&self) -> CompareExpr
fn clone(&self) -> CompareExpr
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 Debug for CompareExpr
impl Debug for CompareExpr
source§impl Default for CompareExpr
impl Default for CompareExpr
source§fn default() -> CompareExpr
fn default() -> CompareExpr
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CompareExpr
impl<'de> Deserialize<'de> for CompareExpr
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 Display for CompareExpr
impl Display for CompareExpr
source§impl From<CompareExpr> for Operations
impl From<CompareExpr> for Operations
source§fn from(op: CompareExpr) -> Self
fn from(op: CompareExpr) -> Self
Converts to this type from the input type.
source§impl Hash for CompareExpr
impl Hash for CompareExpr
source§impl IntoEnumIterator for CompareExpr
impl IntoEnumIterator for CompareExpr
type Iterator = CompareExprIter
fn iter() -> CompareExprIter ⓘ
source§impl Ord for CompareExpr
impl Ord for CompareExpr
source§fn cmp(&self, other: &CompareExpr) -> Ordering
fn cmp(&self, other: &CompareExpr) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CompareExpr
impl PartialEq for CompareExpr
source§fn eq(&self, other: &CompareExpr) -> bool
fn eq(&self, other: &CompareExpr) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for CompareExpr
impl PartialOrd for CompareExpr
source§fn partial_cmp(&self, other: &CompareExpr) -> Option<Ordering>
fn partial_cmp(&self, other: &CompareExpr) -> Option<Ordering>
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 Serialize for CompareExpr
impl Serialize for CompareExpr
source§impl VariantNames for CompareExpr
impl VariantNames for CompareExpr
impl Copy for CompareExpr
impl Eq for CompareExpr
impl StructuralPartialEq for CompareExpr
Auto Trait Implementations§
impl Freeze for CompareExpr
impl RefUnwindSafe for CompareExpr
impl Send for CompareExpr
impl Sync for CompareExpr
impl Unpin for CompareExpr
impl UnwindSafe for CompareExpr
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.