Enum edlang_ast::BinaryOp
source · pub enum BinaryOp {
Arith(ArithOp, Span),
Logic(LogicOp, Span),
Compare(CmpOp, Span),
Bitwise(BitwiseOp, Span),
}
Variants§
Trait Implementations§
source§impl Ord for BinaryOp
impl Ord for BinaryOp
source§impl PartialEq for BinaryOp
impl PartialEq for BinaryOp
source§impl PartialOrd for BinaryOp
impl PartialOrd for BinaryOp
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 BinaryOp
impl StructuralPartialEq for BinaryOp
Auto Trait Implementations§
impl Freeze for BinaryOp
impl RefUnwindSafe for BinaryOp
impl Send for BinaryOp
impl Sync for BinaryOp
impl Unpin for BinaryOp
impl UnwindSafe for BinaryOp
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