Struct syn::token::Colon2 [] [src]

pub struct Colon2(pub [Span; 2]);

::

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

Methods

impl Colon2
[src]

Trait Implementations

impl Copy for Colon2
[src]

impl Clone for Colon2
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Colon2
[src]

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

impl From<Span> for Colon2
[src]

Performs the conversion.

impl ToTokens for Colon2
[src]

Write self to the given TokenStream. Read more

Convert self directly into a TokenStream object. Read more

impl Synom for Colon2
[src]

A short name of the type being parsed. Read more

Auto Trait Implementations

impl !Send for Colon2

impl !Sync for Colon2