Enum espr::ast::BinaryOperator
source · [−]pub enum BinaryOperator {
Mul,
RealDiv,
IntegerDiv,
Mod,
And,
ComplexEntityInstanceConstruction,
Add,
Sub,
Or,
Xor,
Power,
}
Expand description
Binary operators parsed by add_like_op, multiplication_like_op, and power_op
Variants
Mul
*
RealDiv
/
IntegerDiv
DIV
Mod
MOD
And
AND
ComplexEntityInstanceConstruction
||
, Complex entity instance construction operator (12.10)
Add
+
Sub
-
Or
OR
Xor
XOR
Power
**
Trait Implementations
sourceimpl Clone for BinaryOperator
impl Clone for BinaryOperator
sourcefn clone(&self) -> BinaryOperator
fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BinaryOperator
impl Debug for BinaryOperator
sourceimpl PartialEq<BinaryOperator> for BinaryOperator
impl PartialEq<BinaryOperator> for BinaryOperator
impl Copy for BinaryOperator
impl Eq for BinaryOperator
impl StructuralEq for BinaryOperator
impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations
impl RefUnwindSafe for BinaryOperator
impl Send for BinaryOperator
impl Sync for BinaryOperator
impl Unpin for BinaryOperator
impl UnwindSafe for BinaryOperator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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