Struct syn::FnArg
[−]
[src]
pub struct FnArg {
pub pat: Option<Ident>,
pub ty: Ty,
}An argument in a function header.
E.g. bar: usize as in fn foo(bar: usize)
Fields
pat: Option<Ident>
ty: Ty
Trait Implementations
impl Debug for FnArg[src]
impl Clone for FnArg[src]
fn clone(&self) -> FnArg
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more