Enum rustc_ap_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 GenericParamKind
impl !Send for GenericParamKind
impl !Sync for GenericParamKind
impl Unpin for GenericParamKind
impl !UnwindSafe for GenericParamKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V