Struct rustc_ap_rustc_ast::ast::Generics [−][src]
pub struct Generics { pub params: Vec<GenericParam>, pub where_clause: WhereClause, pub span: Span, }
Expand description
Represents lifetime, type and const parameters attached to a declaration of a function, enum, trait, etc.
Fields
params: Vec<GenericParam>
where_clause: WhereClause
span: Span
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Generics
impl !UnwindSafe for Generics
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