pub enum BinaryOp {
Show 29 variants
Plus,
Minus,
Mul,
Div,
Mod,
Concat,
Eq,
EqEq,
EqEqEq,
NotEq,
NotEqEq,
Lt,
LtEq,
Gt,
GtEq,
And,
Or,
BitAnd,
BitOr,
BitXor,
Coalesce,
Spaceship,
Pow,
ShiftLeft,
ShiftRight,
LogicalAnd,
LogicalOr,
LogicalXor,
Instanceof,
}Variants§
Plus
Minus
Mul
Div
Mod
Concat
Eq
EqEq
EqEqEq
NotEq
NotEqEq
Lt
LtEq
Gt
GtEq
And
Or
BitAnd
BitOr
BitXor
Coalesce
Spaceship
Pow
ShiftLeft
ShiftRight
LogicalAnd
LogicalOr
LogicalXor
Instanceof
Trait Implementations§
impl Copy for BinaryOp
impl 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