Struct syn::ExprAssignOp [−][src]
pub struct ExprAssignOp { pub attrs: Vec<Attribute>, pub left: Box<Expr>, pub op: BinOp, pub right: Box<Expr>, }
A compound assignment expression: counter += 1
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
left: Box<Expr>
op: BinOp
right: Box<Expr>
Trait Implementations
impl Clone for ExprAssignOp
[src]
impl Clone for ExprAssignOp
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ExprAssignOp> for Expr
[src]
impl From<ExprAssignOp> for Expr
[src]fn from(e: ExprAssignOp) -> Expr
[src]
impl Hash for ExprAssignOp
[src]
impl Hash for ExprAssignOp
[src]impl Parse for ExprAssignOp
[src]
impl Parse for ExprAssignOp
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ExprAssignOp> for ExprAssignOp
[src]
impl PartialEq<ExprAssignOp> for ExprAssignOp
[src]impl ToTokens for ExprAssignOp
[src]
impl ToTokens for ExprAssignOp
[src]