pub struct MathExpr {
pub lhs: Box<Expr>,
pub rhs: Box<Expr>,
pub operator: MathOperator,
}
Expand description
A mathematical expression
Fields§
§lhs: Box<Expr>
The left hand side of the expression
rhs: Box<Expr>
The right hand side of the expression
operator: MathOperator
The operator used
Trait Implementations§
impl StructuralPartialEq for MathExpr
Auto Trait Implementations§
impl Freeze for MathExpr
impl RefUnwindSafe for MathExpr
impl Send for MathExpr
impl Sync for MathExpr
impl Unpin for MathExpr
impl UnwindSafe for MathExpr
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