pub enum OpKind {
Show 15 variants
Plus,
Minus,
Mult,
Div,
Rem,
Pow,
Not,
ShiftLeft,
ShiftRight,
Equal,
NotEqual,
Greater,
GreaterEq,
Lesser,
LesserEq,
}Variants§
Plus
Addition operator +
Minus
Subtraction opeartor
Mult
Multiplication operator
Div
Division operator /
Rem
Remainder operator %
Pow
Power operator: ^
Not
Not operator: ‘not x’ , ‘!x’, ‘~x’
ShiftLeft
Shift left / right
ShiftRight
Equal
Comparison operator
NotEqual
Greater
GreaterEq
Lesser
LesserEq
Trait Implementations§
impl Copy for OpKind
impl StructuralPartialEq for OpKind
Auto Trait Implementations§
impl Freeze for OpKind
impl RefUnwindSafe for OpKind
impl Send for OpKind
impl Sync for OpKind
impl Unpin for OpKind
impl UnsafeUnpin for OpKind
impl UnwindSafe for OpKind
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