pub enum Cmp {
Ne,
Lt,
Le,
Eq,
Ge,
Gt,
MaskedEq,
}
Expand description
An enum for !=
, <
, <=
, ==
, >=
, >
Variants
Ne
Not equal, !=
Lt
Lower-than, <
Le
Lower-or-equal, <=
Eq
Equal, ==
Ge
Greater-or-equal, >=
Gt
Greater-than, >
MaskedEq
Equal for the masked argument value, the mask is provided in datum_a
of the Comparator
.
Trait Implementations
sourceimpl From<Cmp> for scmp_compare
impl From<Cmp> for scmp_compare
sourcefn from(cmp: Cmp) -> scmp_compare
fn from(cmp: Cmp) -> scmp_compare
Converts to this type from the input type.
impl Copy for Cmp
impl Eq for Cmp
impl StructuralEq for Cmp
impl StructuralPartialEq for Cmp
Auto Trait Implementations
impl RefUnwindSafe for Cmp
impl Send for Cmp
impl Sync for Cmp
impl Unpin for Cmp
impl UnwindSafe for Cmp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more