Struct syn::ExprInPlace
source · pub struct ExprInPlace {
pub attrs: Vec<Attribute>,
pub place: Box<Expr>,
pub arrow_token: LArrow,
pub value: Box<Expr>,
}
Expand description
A placement expression: place <- value
.
This type is available if Syn is built with the "full"
feature.
Fields§
§attrs: Vec<Attribute>
§place: Box<Expr>
§arrow_token: LArrow
§value: Box<Expr>
Trait Implementations§
source§impl Clone for ExprInPlace
impl Clone for ExprInPlace
source§fn clone(&self) -> ExprInPlace
fn clone(&self) -> ExprInPlace
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 ExprInPlace
impl Debug for ExprInPlace
source§impl From<ExprInPlace> for Expr
impl From<ExprInPlace> for Expr
source§fn from(e: ExprInPlace) -> Expr
fn from(e: ExprInPlace) -> Expr
Converts to this type from the input type.