Struct rustc_hir::hir::GenericParam
source · [−]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: HirIdname: ParamNamebounds: GenericBounds<'hir>span: Spanpure_wrt_drop: boolkind: GenericParamKind<'hir>Implementations
Trait Implementations
Auto Trait Implementations
impl<'hir> RefUnwindSafe for GenericParam
impl<'hir> !Send for GenericParam
impl<'hir> !Sync for GenericParam
impl<'hir> Unpin for GenericParam
impl<'hir> UnwindSafe for GenericParam
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