Enum edlang_ast::CmpOp
source · pub enum CmpOp {
Eq,
NotEq,
Lt,
LtEq,
Gt,
GtEq,
}
Variants§
Trait Implementations§
source§impl Ord for CmpOp
impl Ord for CmpOp
source§impl PartialEq for CmpOp
impl PartialEq for CmpOp
source§impl PartialOrd for CmpOp
impl PartialOrd for CmpOp
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 moreimpl Eq for CmpOp
impl StructuralPartialEq for CmpOp
Auto Trait Implementations§
impl Freeze for CmpOp
impl RefUnwindSafe for CmpOp
impl Send for CmpOp
impl Sync for CmpOp
impl Unpin for CmpOp
impl UnwindSafe for CmpOp
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