Struct syn::FnDecl [−][src]
pub struct FnDecl { pub fn_token: Fn, pub generics: Generics, pub paren_token: Paren, pub inputs: Punctuated<FnArg, Comma>, pub variadic: Option<Dot3>, pub output: ReturnType, }
Header of a function declaration, without including the body.
This type is available if Syn is built with the "full"
feature.
Fields
fn_token: Fn
generics: Generics
paren_token: Paren
inputs: Punctuated<FnArg, Comma>
variadic: Option<Dot3>
output: ReturnType