[−][src]Module ra_ap_hir_def::generics
Many kinds of items or constructs can have generic parameters: functions,
structs, impls, traits, etc. This module provides a common HIR for these
generic parameters. See also the Generics
type and the generics_of
query
in rustc.
Structs
GenericParams | Data about the generic parameters of a function, struct, impl, etc. |
TypeParamData | Data about a generic parameter (to a function, struct, impl, ...). |
WherePredicate | A single predicate from a where clause, i.e. |
Enums
TypeParamProvenance | |
WherePredicateTarget |