pub enum BinaryOp {
Multiplication,
Division,
IntegerDivision,
Reminder,
Addition,
Subtraction,
ShiftLeft,
ShiftRight,
BitwiseAnd,
BitwiseOr,
BitwiseXor,
}
Expand description
Available binary operations.
Variants§
Multiplication
Division
IntegerDivision
Reminder
Addition
Subtraction
ShiftLeft
ShiftRight
BitwiseAnd
BitwiseOr
BitwiseXor
Trait Implementations§
impl Copy 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