pub enum LeftAssociativeOperator {
Add,
Subtract,
Multiply,
Divide,
Power,
Root,
}Expand description
A left-associative operator is an operator that requires a left and right of the equation (i.e. +).
Variants§
Add
The addition operator.
Subtract
The subtraction operator.
Multiply
The multiplication operator.
Divide
The division operator.
Power
The exponentiation operator.
Root
The root operator. (not used)
Implementations§
Trait Implementations§
Source§impl Clone for LeftAssociativeOperator
impl Clone for LeftAssociativeOperator
Source§fn clone(&self) -> LeftAssociativeOperator
fn clone(&self) -> LeftAssociativeOperator
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 LeftAssociativeOperator
impl Debug for LeftAssociativeOperator
Source§impl From<LeftAssociativeOperator> for Item
impl From<LeftAssociativeOperator> for Item
Source§fn from(val: LeftAssociativeOperator) -> Self
fn from(val: LeftAssociativeOperator) -> Self
Converts to this type from the input type.
Source§impl From<LeftAssociativeOperator> for Operator
impl From<LeftAssociativeOperator> for Operator
Source§fn from(val: LeftAssociativeOperator) -> Self
fn from(val: LeftAssociativeOperator) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LeftAssociativeOperator
impl PartialEq for LeftAssociativeOperator
impl StructuralPartialEq for LeftAssociativeOperator
Auto Trait Implementations§
impl Freeze for LeftAssociativeOperator
impl RefUnwindSafe for LeftAssociativeOperator
impl Send for LeftAssociativeOperator
impl Sync for LeftAssociativeOperator
impl Unpin for LeftAssociativeOperator
impl UnwindSafe for LeftAssociativeOperator
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