Struct rustc_privacy::ty::GenericParamDef [−][src]
pub struct GenericParamDef {
pub name: Symbol,
pub def_id: DefId,
pub index: u32,
pub pure_wrt_drop: bool,
pub kind: GenericParamDefKind,
}Fields
name: Symboldef_id: DefIdindex: u32pure_wrt_drop: boolpure_wrt_drop, set by the (unsafe) #[may_dangle] attribute
on generic parameter 'a/T, asserts data behind the parameter
'a/T won’t be accessed during the parent type’s Drop impl.
kind: GenericParamDefKindAuto Trait Implementations
impl RefUnwindSafe for GenericParamDef
impl Send for GenericParamDef
impl Sync for GenericParamDef
impl Unpin for GenericParamDef
impl UnwindSafe for GenericParamDef
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 44 bytes