Enum syn::BareFnArgName[][src]

pub enum BareFnArgName {
    Named(Ident),
    Wild(Underscore),
}
[]

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

[]

Argument given a name.

[]

Argument not given a name, matched with _.

Trait Implementations

impl Parse for BareFnArgName
[src]
[+]

impl ToTokens for BareFnArgName
[src]
[+]

[]

Write self to the given TokenStream. Read more

[]

Convert self directly into a TokenStream object. Read more

impl Clone for BareFnArgName
[src]
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for BareFnArgName

impl !Sync for BareFnArgName