Struct syn::token::CapSelf [−][src]
pub struct CapSelf(pub Span);
Self
Don't try to remember the name of this type -- use the Token!
macro instead.
Trait Implementations
impl Copy for CapSelf[src]
impl Copy for CapSelfimpl Clone for CapSelf[src]
impl Clone for CapSelffn clone(&self) -> CapSelf[src]
fn clone(&self) -> CapSelfReturns 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 CapSelf[src]
impl Default for CapSelfimpl ToTokens for CapSelf[src]
impl ToTokens for CapSelffn 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 CapSelf[src]
impl Synom for CapSelffn parse(tokens: Cursor) -> PResult<CapSelf>[src]
fn parse(tokens: Cursor) -> PResult<CapSelf>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 CapSelf[src]
impl From<Span> for CapSelfimpl From<CapSelf> for Ident[src]
impl From<CapSelf> for Ident