Enum devise::syn::BareFnArgName [−][src]
pub enum BareFnArgName {
Named(Ident),
Wild(Underscore),
}
Expand description
Name of an argument in a function type: the n
in fn(n: usize)
.
This type is available if Syn is built with the "derive"
or "full"
feature.
Variants
Named(Ident)
Argument given a name.
Tuple Fields of Named
0: Ident
Wild(Underscore)
Argument not given a name, matched with _
.
Tuple Fields of Wild
0: Underscore
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for BareFnArgName
impl !Send for BareFnArgName
impl !Sync for BareFnArgName
impl Unpin for BareFnArgName
impl UnwindSafe for BareFnArgName
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more