Struct resast::expr::BinaryExpr [−][src]
pub struct BinaryExpr<'a> {
pub operator: BinaryOp,
pub left: Box<Expr<'a>>,
pub right: Box<Expr<'a>>,
}
Expand description
An operation that requires 2 arguments
Fields
operator: BinaryOp
left: Box<Expr<'a>>
right: Box<Expr<'a>>
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for BinaryExpr<'a>
impl<'a> Send for BinaryExpr<'a>
impl<'a> Sync for BinaryExpr<'a>
impl<'a> Unpin for BinaryExpr<'a>
impl<'a> UnwindSafe for BinaryExpr<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more