pub enum BinOp {
Show 22 variants
Add,
Sub,
Mul,
Div,
Rem,
Shl,
Shr,
Ushr,
And,
Or,
Xor,
Eq,
Ne,
Lt,
Ge,
Gt,
Le,
RefEq,
RefNe,
LogAnd,
LogOr,
StrCat,
}Variants§
Add
Sub
Mul
Div
Rem
Shl
Shr
Ushr
And
Or
Xor
Eq
Ne
Lt
Ge
Gt
Le
RefEq
Reference equality on objects (==).
RefNe
LogAnd
Logical && and || (from short-circuit structuring).
LogOr
StrCat
String concatenation +.
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