Struct devise::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,
}
Expand description
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
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FnDecl
impl UnwindSafe for FnDecl
Blanket Implementations
Mutably borrows from an owned value. Read more