pub struct ExprBinop<const ITER: bool> {
pub operator: BinaryOperator,
pub lhs: Box<Expression<ITER>>,
pub rhs: Box<Expression<ITER>>,
}
Expand description
A parsed binary operator expression.
Fields§
§operator: BinaryOperator
The operator
lhs: Box<Expression<ITER>>
Left hand side
rhs: Box<Expression<ITER>>
Right hand side.
Trait Implementations§
Auto Trait Implementations§
impl<const ITER: bool> RefUnwindSafe for ExprBinop<ITER>
impl<const ITER: bool> Send for ExprBinop<ITER>
impl<const ITER: bool> Sync for ExprBinop<ITER>
impl<const ITER: bool> Unpin for ExprBinop<ITER>
impl<const ITER: bool> UnwindSafe for ExprBinop<ITER>
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
source§impl<T> Convert for T
impl<T> Convert for T
source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more