pub enum Operator {
Show 19 variants
Plus,
Minus,
Multiply,
Divide,
PlusEqual,
MinusEqual,
MultiplyEqual,
DivideEqual,
Modulo,
Equal,
EqualEqual,
NotEqual,
Less,
LessEqual,
Greater,
GreaterEqual,
And,
Or,
Not,
}
Expand description
Represents supported operators in the language
Variants§
Plus
Minus
Multiply
Divide
PlusEqual
MinusEqual
MultiplyEqual
DivideEqual
Modulo
Equal
EqualEqual
NotEqual
Less
LessEqual
Greater
GreaterEqual
And
Or
Not
Trait Implementations§
impl StructuralPartialEq for Operator
Auto Trait Implementations§
impl Freeze for Operator
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnwindSafe for Operator
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