Struct rustc_middle::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: GenericParamDefKindImplementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GenericParamDefimpl Send for GenericParamDefimpl Sync for GenericParamDefimpl Unpin for GenericParamDefimpl UnwindSafe for GenericParamDefBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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