pub enum IntegerOp {
Add,
Sub,
Mul,
Div,
}Expand description
Binary operators for Integer expressions
Variants§
Trait Implementations§
Source§impl From<IntegerOp> for NonMinusIntegerOp
impl From<IntegerOp> for NonMinusIntegerOp
Source§impl From<NonMinusIntegerOp> for IntegerOp
impl From<NonMinusIntegerOp> for IntegerOp
Source§fn from(op: NonMinusIntegerOp) -> Self
fn from(op: NonMinusIntegerOp) -> Self
Converts to this type from the input type.
Source§impl Ord for IntegerOp
impl Ord for IntegerOp
Source§impl PartialOrd for IntegerOp
impl PartialOrd for IntegerOp
impl Copy for IntegerOp
impl Eq for IntegerOp
impl StructuralPartialEq for IntegerOp
Auto Trait Implementations§
impl Freeze for IntegerOp
impl RefUnwindSafe for IntegerOp
impl Send for IntegerOp
impl Sync for IntegerOp
impl Unpin for IntegerOp
impl UnwindSafe for IntegerOp
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