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
Auto Trait Implementations
impl<'hir> RefUnwindSafe for Param
impl<'hir> UnwindSafe for Param
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