Struct rustc_ap_rustc_ast::ast::FnDecl [−][src]
Expand description
A signature (not the body) of a function declaration.
E.g., fn foo(bar: baz)
.
Please note that it’s different from FnHeader
structure
which contains metadata about function safety, asyncness, constness and ABI.
Fields
inputs: Vec<Param>
output: FnRetTy
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FnDecl
impl !UnwindSafe for FnDecl
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V