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