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
Show fields
Fields of Type
has_default: boolobject_lifetime_default: ObjectLifetimeDefaultsynthetic: Option<SyntheticTyParamKind>Show fields
Fields of Const
has_default: boolImplementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GenericParamDefKindimpl Send for GenericParamDefKindimpl Sync for GenericParamDefKindimpl Unpin for GenericParamDefKindimpl UnwindSafe for GenericParamDefKindBlanket 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