Struct rustc_hir::Param [−][src]
pub struct Param<'hir> {
pub hir_id: HirId,
pub pat: &'hir Pat<'hir>,
pub ty_span: Span,
pub span: Span,
}Expand description
Represents a parameter in a function header.
Fields
hir_id: HirIdpat: &'hir Pat<'hir>ty_span: Spanspan: SpanTrait Implementations
impl<'hir, __CTX> HashStable<__CTX> for Param<'hir> where
__CTX: HashStableContext, [src]
impl<'hir, __CTX> HashStable<__CTX> for Param<'hir> where
__CTX: HashStableContext, [src]