pub enum BinOp {
Show 21 variants
Plus,
Minus,
Mul,
Div,
IntDiv,
Pow,
Mod,
BitAnd,
BitXor,
BitOr,
BitShr,
BitShl,
Concat,
LT,
LTE,
GT,
GTE,
EQ,
NEQ,
And,
Or,
}Expand description
binop ::= ‘+’ | ‘-’ | ‘*’ | ‘/’ | ‘//’ | ‘^’ | ‘%’ | ‘&’ | ‘~’ | ‘|’ | ‘>>’ | ‘<<’ | ‘..’ | ‘<’ | ‘<=’ | ‘>’ | ‘>=’ | ‘==’ | ‘~=’ | and | or
Variants
Plus
Minus
Mul
Div
IntDiv
Pow
Mod
BitAnd
BitXor
BitOr
BitShr
BitShl
Concat
LT
LTE
GT
GTE
EQ
NEQ
And
Or
Trait Implementations
impl StructuralPartialEq for BinOp
Auto Trait Implementations
impl RefUnwindSafe for BinOp
impl Send for BinOp
impl Sync for BinOp
impl Unpin for BinOp
impl UnwindSafe for BinOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more