Enum stable_mir::mir::BinOp
source · pub enum BinOp {
Show 22 variants
Add,
AddUnchecked,
Sub,
SubUnchecked,
Mul,
MulUnchecked,
Div,
Rem,
BitXor,
BitAnd,
BitOr,
Shl,
ShlUnchecked,
Shr,
ShrUnchecked,
Eq,
Lt,
Le,
Ne,
Ge,
Gt,
Offset,
}
Variants§
Add
AddUnchecked
Sub
SubUnchecked
Mul
MulUnchecked
Div
Rem
BitXor
BitAnd
BitOr
Shl
ShlUnchecked
Shr
ShrUnchecked
Eq
Lt
Le
Ne
Ge
Gt
Offset
Trait Implementations§
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§
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Add
: 0 bytesAddUnchecked
: 0 bytesSub
: 0 bytesSubUnchecked
: 0 bytesMul
: 0 bytesMulUnchecked
: 0 bytesDiv
: 0 bytesRem
: 0 bytesBitXor
: 0 bytesBitAnd
: 0 bytesBitOr
: 0 bytesShl
: 0 bytesShlUnchecked
: 0 bytesShr
: 0 bytesShrUnchecked
: 0 bytesEq
: 0 bytesLt
: 0 bytesLe
: 0 bytesNe
: 0 bytesGe
: 0 bytesGt
: 0 bytesOffset
: 0 bytes