Struct rustc_hir::FnDecl [−][src]
pub struct FnDecl<'hir> {
pub inputs: &'hir [Ty<'hir>],
pub output: FnRetTy<'hir>,
pub c_variadic: bool,
pub implicit_self: ImplicitSelfKind,
}Expand description
Represents the header (not the body) of a function declaration.
Fields
inputs: &'hir [Ty<'hir>]Expand description
The types of the function’s parameters.
Additional argument data is stored in the function’s body.
output: FnRetTy<'hir>c_variadic: boolimplicit_self: ImplicitSelfKindExpand description
Does the function have an implicit self?
Trait Implementations
impl<'hir, __CTX> HashStable<__CTX> for FnDecl<'hir> where
__CTX: HashStableContext, [src]
impl<'hir, __CTX> HashStable<__CTX> for FnDecl<'hir> where
__CTX: HashStableContext, [src]