pub enum ArithmeticOp {
Add,
Subtract,
Multiply,
Divide,
IntegerDivide,
Modulo,
}Expand description
An arithmetic operator.
Variants§
Trait Implementations§
Source§impl Clone for ArithmeticOp
impl Clone for ArithmeticOp
impl Copy for ArithmeticOp
Source§impl Debug for ArithmeticOp
impl Debug for ArithmeticOp
impl Eq for ArithmeticOp
Source§impl Hash for ArithmeticOp
impl Hash for ArithmeticOp
Source§impl PartialEq for ArithmeticOp
impl PartialEq for ArithmeticOp
impl StructuralPartialEq for ArithmeticOp
Auto Trait Implementations§
impl Forget for ArithmeticOp
impl Freeze for ArithmeticOp
impl RefUnwindSafe for ArithmeticOp
impl Send for ArithmeticOp
impl Sync for ArithmeticOp
impl Unpin for ArithmeticOp
impl UnsafeUnpin for ArithmeticOp
impl UnwindSafe for ArithmeticOp
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