Struct syn::token::Colon2
[−]
[src]
::
Don't try to remember the name of this type -- use the Token!
macro instead.
Methods
impl Colon2[src]
impl Colon2Trait Implementations
impl Copy for Colon2[src]
impl Copy for Colon2impl Clone for Colon2[src]
impl Clone for Colon2fn clone(&self) -> Colon2[src]
fn clone(&self) -> Colon2Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Default for Colon2[src]
impl Default for Colon2impl ToTokens for Colon2[src]
impl ToTokens for Colon2fn to_tokens(&self, tokens: &mut Tokens)[src]
fn to_tokens(&self, tokens: &mut Tokens)Write self to the given Tokens. Read more
fn into_tokens(self) -> Tokens[src]
fn into_tokens(self) -> TokensConvert self directly into a Tokens object. Read more
impl Synom for Colon2[src]
impl Synom for Colon2fn parse(tokens: Cursor) -> PResult<Colon2>[src]
fn parse(tokens: Cursor) -> PResult<Colon2>fn description() -> Option<&'static str>[src]
fn description() -> Option<&'static str>A short name of the type being parsed. Read more
impl From<Span> for Colon2[src]
impl From<Span> for Colon2