Struct syn::FnDecl
[−]
[src]
pub struct FnDecl { pub inputs: Vec<FnArg>, pub output: FunctionRetTy, }
Header (not the body) of a function declaration.
E.g. fn foo(bar: baz)
Fields
inputs: Vec<FnArg>
output: FunctionRetTy
Trait Implementations
impl Debug for FnDecl
[src]
impl Clone for FnDecl
[src]
fn clone(&self) -> FnDecl
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