pub enum CompareOp {
Lt,
Le,
Eq,
Ne,
Gt,
Ge,
}
Expand description
Operators for the __richcmp__
method
Variants
Lt
The less than operator.
Le
The less than or equal to operator.
Eq
The equality operator.
Ne
The not equal to operator.
Gt
The greater than operator.
Ge
The greater than or equal to operator.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CompareOp
impl Send for CompareOp
impl Sync for CompareOp
impl Unpin for CompareOp
impl UnwindSafe for CompareOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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