Struct rustc_hir::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: HirId
pat: &'hir Pat<'hir>
ty_span: Span
span: Span
Trait Implementations
Auto Trait Implementations
impl<'hir> !RefUnwindSafe for Param<'hir>
impl<'hir> !UnwindSafe for Param<'hir>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes