Struct devise::syn::ExprReference
source · pub struct ExprReference {
pub attrs: Vec<Attribute, Global>,
pub and_token: And,
pub mutability: Option<Mut>,
pub expr: Box<Expr, Global>,
}
Expand description
A referencing operation: &a
or &mut a
.
This type is available if Syn is built with the "full"
feature.
Fields§
§attrs: Vec<Attribute, Global>
§and_token: And
§mutability: Option<Mut>
§expr: Box<Expr, Global>
Trait Implementations§
source§impl Clone for ExprReference
impl Clone for ExprReference
source§fn clone(&self) -> ExprReference
fn clone(&self) -> ExprReference
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 ExprReference
impl Debug for ExprReference
source§impl From<ExprReference> for Expr
impl From<ExprReference> for Expr
source§fn from(e: ExprReference) -> Expr
fn from(e: ExprReference) -> Expr
Converts to this type from the input type.