pub enum ExpressionOperations {
Show 15 variants
Plus,
Minus,
Multiply,
Divide,
ShiftLeft,
ShiftRight,
And,
Or,
Xor,
Eq,
NotEq,
Great,
Less,
GreatEq,
LessEq,
}
Expand description
ExpressionOperations
expression operation element of AST.
Used for expression operations:
ConstantExpression
- expression of constant declarationExpression
- part of operations for expressions
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ExpressionOperations
impl Clone for ExpressionOperations
Source§fn clone(&self) -> ExpressionOperations
fn clone(&self) -> ExpressionOperations
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 ExpressionOperations
impl Debug for ExpressionOperations
Source§impl From<ExpressionOperations> for ExpressionOperations
impl From<ExpressionOperations> for ExpressionOperations
Source§fn from(value: ExpressionOperations) -> Self
fn from(value: ExpressionOperations) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExpressionOperations
impl PartialEq for ExpressionOperations
impl Eq for ExpressionOperations
impl StructuralPartialEq for ExpressionOperations
Auto Trait Implementations§
impl Freeze for ExpressionOperations
impl RefUnwindSafe for ExpressionOperations
impl Send for ExpressionOperations
impl Sync for ExpressionOperations
impl Unpin for ExpressionOperations
impl UnwindSafe for ExpressionOperations
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