pub enum BinaryOp {
Show 23 variants
Add,
Sub,
Mul,
Div,
Mod,
Eq,
StrictEq,
NotEq,
StrictNotEq,
Lt,
Lte,
Gt,
Gte,
And,
Or,
NullishCoalescing,
InstanceOf,
Power,
BitAnd,
BitOr,
BitXor,
Shl,
Shr,
}Variants§
Add
Sub
Mul
Div
Mod
Eq
StrictEq
NotEq
StrictNotEq
Lt
Lte
Gt
Gte
And
Or
NullishCoalescing
InstanceOf
Power
BitAnd
BitOr
BitXor
Shl
Shr
Trait Implementations§
impl StructuralPartialEq for BinaryOp
Auto Trait Implementations§
impl Forget for BinaryOp
impl Freeze for BinaryOp
impl Move for BinaryOp
impl RefUnwindSafe for BinaryOp
impl Send for BinaryOp
impl Sync for BinaryOp
impl Unpin for BinaryOp
impl UnsafeUnpin 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