Struct syn::token::Ref[][src]

pub struct Ref {
    pub span: Span,
}
[]

ref

Don't try to remember the name of this type -- use the Token! macro instead.

Fields

Trait Implementations

impl Copy for Ref
[src]

impl Clone for Ref
[src]
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Default for Ref
[src]
[+]

[]

Returns the "default value" for a type. Read more

impl ToTokens for Ref
[src]
[+]

[]

Write self to the given TokenStream. Read more

[]

Convert self directly into a TokenStream object. Read more

impl Parse for Ref
[src]
[+]

impl Token for Ref
[src]
[+]

Auto Trait Implementations

impl !Send for Ref

impl !Sync for Ref