Struct syn::token::Underscore
source · Expand description
_
Don’t try to remember the name of this type — use the
Token!
macro instead.
Fields§
§spans: [Span; 1]
Trait Implementations§
source§impl Clone for Underscore
Available on crate feature clone-impls
only.
impl Clone for Underscore
Available on crate feature
clone-impls
only.source§impl Debug for Underscore
Available on crate feature extra-traits
only.
impl Debug for Underscore
Available on crate feature
extra-traits
only.source§impl Default for Underscore
impl Default for Underscore
source§impl Deref for Underscore
impl Deref for Underscore
source§impl DerefMut for Underscore
impl DerefMut for Underscore
source§impl From<Underscore> for Ident
impl From<Underscore> for Ident
source§fn from(token: Underscore) -> Ident
fn from(token: Underscore) -> Ident
Converts to this type from the input type.
source§impl Hash for Underscore
Available on crate feature extra-traits
only.
impl Hash for Underscore
Available on crate feature
extra-traits
only.source§impl Parse for Underscore
Available on crate feature parsing
only.
impl Parse for Underscore
Available on crate feature
parsing
only.fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl PartialEq<Underscore> for Underscore
Available on crate feature extra-traits
only.
impl PartialEq<Underscore> for Underscore
Available on crate feature
extra-traits
only.source§fn eq(&self, _other: &Underscore) -> bool
fn eq(&self, _other: &Underscore) -> bool
source§impl ToTokens for Underscore
Available on crate feature printing
only.
impl ToTokens for Underscore
Available on crate feature
printing
only.source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Copy for Underscore
Available on crate feature
clone-impls
only.impl Eq for Underscore
Available on crate feature
extra-traits
only.