Enum rustc_ast::ast::GenericParamKind [−][src]
pub enum GenericParamKind {
Lifetime,
Type {
default: Option<P<Ty>>,
},
Const {
ty: P<Ty>,
kw_span: Span,
default: Option<AnonConst>,
},
}Variants
A lifetime definition (e.g., 'a: 'b + 'c + 'd).
Show fields
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GenericParamKindimpl !Send for GenericParamKindimpl !Sync for GenericParamKindimpl Unpin for GenericParamKindimpl !UnwindSafe for GenericParamKindBlanket 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: 40 bytes