Struct resast::expr::LogicalExpr [−][src]
pub struct LogicalExpr<'a> {
pub operator: LogicalOp,
pub left: Box<Expr<'a>>,
pub right: Box<Expr<'a>>,
}
Expand description
A specialized BinaryExpr
for logical evaluation
true && true
false || true
Fields
operator: LogicalOp
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 LogicalExpr<'a>
impl<'a> Send for LogicalExpr<'a>
impl<'a> Sync for LogicalExpr<'a>
impl<'a> Unpin for LogicalExpr<'a>
impl<'a> UnwindSafe for LogicalExpr<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more