pub struct ArithmeticExpr {
pub left: Box<dyn Expr>,
pub operator: ArithmeticOperator,
pub right: Box<dyn Expr>,
pub result_type: Box<dyn DataType>,
}
Fields§
§left: Box<dyn Expr>
§operator: ArithmeticOperator
§right: Box<dyn Expr>
§result_type: Box<dyn DataType>
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 moreAuto 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