Struct syn::token::Sub [−][src]
-
Don't try to remember the name of this type -- use the Token!
macro instead.
Methods
impl Sub[src]
impl SubTrait Implementations
impl Copy for Sub[src]
impl Copy for Subimpl Clone for Sub[src]
impl Clone for Subfn clone(&self) -> Sub[src]
fn clone(&self) -> SubReturns 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 Sub[src]
impl Default for Subimpl From<Span> for Sub[src]
impl From<Span> for Subimpl ToTokens for Sub[src]
impl ToTokens for Subfn 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 Sub[src]
impl Synom for Sub