Enum rustc_middle::ty::GenericParamDefKind [−][src]
pub enum GenericParamDefKind {
Lifetime,
Type {
has_default: bool,
object_lifetime_default: ObjectLifetimeDefault,
synthetic: Option<SyntheticTyParamKind>,
},
Const {
has_default: bool,
},
}Variants
Fields of Type
has_default: boolobject_lifetime_default: ObjectLifetimeDefaultsynthetic: Option<SyntheticTyParamKind>Fields of Const
has_default: boolImplementations
Trait Implementations
Auto 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 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: 24 bytes