Struct syn::ExprReference[][src]

pub struct ExprReference {
    pub attrs: Vec<Attribute>,
    pub and_token: And,
    pub mutability: Option<Mut>,
    pub expr: Box<Expr>,
}

A referencing operation: &a or &mut a.

This type is available if Syn is built with the "full" feature.

Fields

Trait Implementations

impl ToTokens for ExprReference
[src]

Write self to the given Tokens. Read more

Convert self directly into a Tokens object. Read more

impl Clone for ExprReference
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<ExprReference> for Expr
[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for ExprReference

impl !Sync for ExprReference