Struct devise::syn::ExprBinary [−][src]
pub struct ExprBinary {
pub attrs: Vec<Attribute, Global>,
pub left: Box<Expr, Global>,
pub op: BinOp,
pub right: Box<Expr, Global>,
}
Expand description
A binary operation: a + b
, a * b
.
This type is available if Syn is built with the "derive"
or
"full"
feature.
Fields
attrs: Vec<Attribute, Global>
left: Box<Expr, Global>
op: BinOp
right: Box<Expr, Global>
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 !RefUnwindSafe for ExprBinary
impl !Send for ExprBinary
impl !Sync for ExprBinary
impl Unpin for ExprBinary
impl UnwindSafe for ExprBinary
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more