Struct syn::ExprAssign
source · pub struct ExprAssign {
pub attrs: Vec<Attribute>,
pub left: Box<Expr>,
pub eq_token: Eq,
pub right: Box<Expr>,
}
Expand description
An assignment expression: a = compute()
.
Fields§
§attrs: Vec<Attribute>
§left: Box<Expr>
§eq_token: Eq
§right: Box<Expr>
Trait Implementations§
source§impl From<ExprAssign> for Expr
impl From<ExprAssign> for Expr
source§fn from(e: ExprAssign) -> Expr
fn from(e: ExprAssign) -> Expr
Converts to this type from the input type.