Struct ra_ap_hir_def::generics::GenericParams [−][src]
pub struct GenericParams { pub types: Arena<TypeParamData>, pub lifetimes: Arena<LifetimeParamData>, pub consts: Arena<ConstParamData>, pub where_predicates: Vec<WherePredicate>, }
Expand description
Data about the generic parameters of a function, struct, impl, etc.
Fields
types: Arena<TypeParamData>
lifetimes: Arena<LifetimeParamData>
consts: Arena<ConstParamData>
where_predicates: Vec<WherePredicate>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GenericParams
impl Send for GenericParams
impl Sync for GenericParams
impl Unpin for GenericParams
impl UnwindSafe for GenericParams
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.