Struct syn::ExprReference [−][src]
pub struct ExprReference { pub attrs: Vec<Attribute>, pub and_token: And, pub raw: Reserved, pub mutability: Option<Mut>, pub expr: Box<Expr>, }
A referencing operation: &a
or &mut a
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
and_token: And
raw: Reserved
mutability: Option<Mut>
expr: Box<Expr>
Trait Implementations
impl Clone for ExprReference
[src]
impl Clone for ExprReference
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ExprReference> for Expr
[src]
impl From<ExprReference> for Expr
[src]fn from(e: ExprReference) -> Expr
[src]
impl Hash for ExprReference
[src]
impl Hash for ExprReference
[src]impl Parse for ExprReference
[src]
impl Parse for ExprReference
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ExprReference> for ExprReference
[src]
impl PartialEq<ExprReference> for ExprReference
[src]impl ToTokens for ExprReference
[src]
impl ToTokens for ExprReference
[src]