Enum cel_parser::ast::ArithmeticOp
source · pub enum ArithmeticOp {
Add,
Subtract,
Divide,
Multiply,
Modulus,
}
Variants§
Trait Implementations§
source§impl Clone for ArithmeticOp
impl Clone for ArithmeticOp
source§fn clone(&self) -> ArithmeticOp
fn clone(&self) -> ArithmeticOp
Returns a copy 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 ArithmeticOp
impl Debug for ArithmeticOp
source§impl PartialEq for ArithmeticOp
impl PartialEq for ArithmeticOp
source§fn eq(&self, other: &ArithmeticOp) -> bool
fn eq(&self, other: &ArithmeticOp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ArithmeticOp
impl StructuralEq for ArithmeticOp
impl StructuralPartialEq for ArithmeticOp
Auto Trait Implementations§
impl RefUnwindSafe for ArithmeticOp
impl Send for ArithmeticOp
impl Sync for ArithmeticOp
impl Unpin for ArithmeticOp
impl UnwindSafe for ArithmeticOp
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