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: Fngenerics: Genericsparen_token: Pareninputs: Punctuated<FnArg, Comma>variadic: Option<Dot3>output: ReturnTypeTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FnDecl
impl UnwindSafe for FnDecl
Blanket Implementations
Mutably borrows from an owned value. Read more