pub enum ArithmeticOperator {
Show 20 variants
LogicalNot,
BitwiseNot,
Multiply,
Divide,
Modulo,
Add,
Subtract,
ShiftLeft,
ShiftRight,
LessThan,
LessEqual,
GreaterThan,
GreaterEqual,
Equal,
NotEqual,
BitwiseAnd,
BitwiseXor,
BitwiseOr,
LogicalAnd,
LogicalOr,
}Expand description
Arithmetic operators with their precedence and associativity
Variants§
LogicalNot
BitwiseNot
Multiply
Divide
Modulo
Add
Subtract
ShiftLeft
ShiftRight
LessThan
LessEqual
GreaterThan
GreaterEqual
Equal
NotEqual
BitwiseAnd
BitwiseXor
BitwiseOr
LogicalAnd
LogicalOr
Implementations§
Trait Implementations§
Source§impl Clone for ArithmeticOperator
impl Clone for ArithmeticOperator
Source§fn clone(&self) -> ArithmeticOperator
fn clone(&self) -> ArithmeticOperator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArithmeticOperator
impl Debug for ArithmeticOperator
Source§impl PartialEq for ArithmeticOperator
impl PartialEq for ArithmeticOperator
impl StructuralPartialEq for ArithmeticOperator
Auto Trait Implementations§
impl Freeze for ArithmeticOperator
impl RefUnwindSafe for ArithmeticOperator
impl Send for ArithmeticOperator
impl Sync for ArithmeticOperator
impl Unpin for ArithmeticOperator
impl UnwindSafe for ArithmeticOperator
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