#[repr(u8)]
pub enum OpKind {
Show 24 variants
Add,
Sub,
Mul,
Div,
FloorDiv,
Pow,
Mod,
Pos,
Neg,
Invert,
Gt,
Lt,
Ge,
Le,
Eq,
Ne,
And,
Or,
BitAnd,
BitOr,
BitXor,
Shl,
Shr,
Mutate,
}
Variants
Add
Sub
Mul
Div
FloorDiv
Pow
Mod
Pos
Neg
Invert
Gt
Lt
Ge
Le
Eq
Ne
And
Or
BitAnd
BitOr
BitXor
Shl
Shr
Mutate
Implementations
sourceimpl OpKind
impl OpKind
pub fn is_comparison(&self) -> bool
Trait Implementations
impl Copy for OpKind
impl Eq for OpKind
impl StructuralEq for OpKind
impl StructuralPartialEq for OpKind
Auto Trait Implementations
impl RefUnwindSafe for OpKind
impl Send for OpKind
impl Sync for OpKind
impl Unpin for OpKind
impl UnwindSafe for OpKind
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