Enum edlang_ast::ArithOp
source · pub enum ArithOp {
Add,
Sub,
Mul,
Div,
Mod,
}
Variants§
Trait Implementations§
source§impl Ord for ArithOp
impl Ord for ArithOp
source§impl PartialEq for ArithOp
impl PartialEq for ArithOp
source§impl PartialOrd for ArithOp
impl PartialOrd for ArithOp
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 ArithOp
impl StructuralPartialEq for ArithOp
Auto Trait Implementations§
impl RefUnwindSafe for ArithOp
impl Send for ArithOp
impl Sync for ArithOp
impl Unpin for ArithOp
impl UnwindSafe for ArithOp
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