Enum rustc_typeck::ty::GenericParamDefKind [−][src]
pub enum GenericParamDefKind {
Lifetime,
Type {
has_default: bool,
object_lifetime_default: Set1<Region>,
synthetic: bool,
},
Const {
has_default: bool,
},
}Variants
Lifetime
Type
Const
Fields
has_default: boolAuto Trait Implementations
impl RefUnwindSafe for GenericParamDefKind
impl Send for GenericParamDefKind
impl Sync for GenericParamDefKind
impl Unpin for GenericParamDefKind
impl UnwindSafe for GenericParamDefKind
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: 24 bytes
Size for each variant:
Lifetime: 0 bytesType: 23 bytesConst: 1 byte