pub struct CompareOp(_);Expand description
Implementations§
source§impl CompareOp
impl CompareOp
pub const NEVER: CompareOp = Self(0)
pub const LESS: CompareOp = Self(1)
pub const EQUAL: CompareOp = Self(2)
pub const LESS_OR_EQUAL: CompareOp = Self(3)
pub const GREATER: CompareOp = Self(4)
pub const NOT_EQUAL: CompareOp = Self(5)
pub const GREATER_OR_EQUAL: CompareOp = Self(6)
pub const ALWAYS: CompareOp = Self(7)
Trait Implementations§
source§impl Ord for CompareOp
impl Ord for CompareOp
source§impl PartialEq<CompareOp> for CompareOp
impl PartialEq<CompareOp> for CompareOp
source§impl PartialOrd<CompareOp> for CompareOp
impl PartialOrd<CompareOp> for CompareOp
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 more