Struct devise::syn::ExprAssignOp
source · pub struct ExprAssignOp {
pub attrs: Vec<Attribute, Global>,
pub left: Box<Expr, Global>,
pub op: BinOp,
pub right: Box<Expr, Global>,
}
Expand description
A compound assignment expression: counter += 1
.
This type is available if Syn is built with the "full"
feature.
Fields§
§attrs: Vec<Attribute, Global>
§left: Box<Expr, Global>
§op: BinOp
§right: Box<Expr, Global>
Trait Implementations§
source§impl Clone for ExprAssignOp
impl Clone for ExprAssignOp
source§fn clone(&self) -> ExprAssignOp
fn clone(&self) -> ExprAssignOp
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExprAssignOp
impl Debug for ExprAssignOp
source§impl From<ExprAssignOp> for Expr
impl From<ExprAssignOp> for Expr
source§fn from(e: ExprAssignOp) -> Expr
fn from(e: ExprAssignOp) -> Expr
Converts to this type from the input type.