Structs§
~const
bounds for a given item. This is represented using a struct much likeGenericPredicates
, where you can either choose to only instantiate the “own” bounds or all of the bounds including those from the parent. This distinction is necessary for code likecompare_method_predicate_entailment
.- Bounds on generics.
- Information about the formal type/lifetime parameters associated with an item or method. Analogous to
hir::Generics
.