pub enum ArithmeticExpr {
Value(NumberValue),
Nested(Box<ArithmeticExpr>),
Expr {
left: Box<ArithmeticExpr>,
op: ArithmeticOp,
right: Box<ArithmeticExpr>,
},
}Variants§
Trait Implementations§
Source§impl Clone for ArithmeticExpr
impl Clone for ArithmeticExpr
Source§fn clone(&self) -> ArithmeticExpr
fn clone(&self) -> ArithmeticExpr
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 ArithmeticExpr
impl Debug for ArithmeticExpr
Source§impl PartialEq for ArithmeticExpr
impl PartialEq for ArithmeticExpr
impl StructuralPartialEq for ArithmeticExpr
Auto Trait Implementations§
impl Freeze for ArithmeticExpr
impl RefUnwindSafe for ArithmeticExpr
impl Send for ArithmeticExpr
impl Sync for ArithmeticExpr
impl Unpin for ArithmeticExpr
impl UnwindSafe for ArithmeticExpr
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