Struct syn::token::Underscore
source · Expand description
_
Usage: wildcard patterns, inferred types, unnamed items in constants, extern crates, use declarations, and destructuring assignment.
Don’t try to remember the name of this type — use the
Token!
macro instead.
Fields§
§spans: [Span; 1]
Trait Implementations§
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.