Struct rustc_hir::hir::GenericParam [−][src]
pub struct GenericParam<'hir> {
pub hir_id: HirId,
pub name: ParamName,
pub bounds: GenericBounds<'hir>,
pub span: Span,
pub pure_wrt_drop: bool,
pub kind: GenericParamKind<'hir>,
}
Fields
hir_id: HirId
name: ParamName
bounds: GenericBounds<'hir>
span: Span
pure_wrt_drop: bool
kind: GenericParamKind<'hir>
Implementations
Trait Implementations
Auto Trait Implementations
impl<'hir> RefUnwindSafe for GenericParam<'hir>
impl<'hir> !Send for GenericParam<'hir>
impl<'hir> !Sync for GenericParam<'hir>
impl<'hir> Unpin for GenericParam<'hir>
impl<'hir> UnwindSafe for GenericParam<'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: 88 bytes