pub enum BinOp {
Show 22 variants
Add,
Sub,
Mul,
Div,
FloorDiv,
Rem,
Pow,
BitAnd,
BitOr,
BitXor,
Shl,
Shr,
Eq,
NotEq,
Lt,
LtEq,
Gt,
GtEq,
In,
NotIn,
And,
Or,
}Expand description
Binary operators, in the spelling they print with in the dump.
Variants§
Add
Sub
Mul
Div
FloorDiv
Rem
Pow
BitAnd
BitOr
BitXor
Shl
Shr
Eq
NotEq
Lt
LtEq
Gt
GtEq
In
NotIn
And
Or
Implementations§
Trait Implementations§
impl Copy for BinOp
impl Eq for BinOp
impl StructuralPartialEq for BinOp
Auto Trait Implementations§
impl Freeze for BinOp
impl RefUnwindSafe for BinOp
impl Send for BinOp
impl Sync for BinOp
impl Unpin for BinOp
impl UnsafeUnpin for BinOp
impl UnwindSafe for BinOp
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