Functionsยง
- assert_
only_ ๐contains_ predicates_ from - compute_
bidirectional_ ๐outlives_ predicates - Opaques have duplicated lifetimes and we need to compute bidirectional outlives predicates to enforce that these lifetimes stay in sync.
- const_
conditions ๐ - const_
evaluatable_ ๐predicates_ of - explicit_
implied_ ๐const_ bounds - explicit_
implied_ ๐predicates_ of - explicit_
predicates_ ๐of - explicit_
super_ ๐predicates_ of - Ensures that the super-predicates of the trait with a
DefId
oftrait_def_id
are lowered and stored. This also ensures that the transitive super-predicates are lowered. - explicit_
supertraits_ ๐containing_ assoc_ item - gather_
explicit_ ๐predicates_ of - Returns a list of user-specified type predicates for the definition with ID
def_id
. N.B., this does not include any implied/inferred constraints. - implied_
predicates_ ๐with_ filter - Ensures that the super-predicates of the trait with a
DefId
oftrait_def_id
are lowered and stored. This also ensures that the transitive super-predicates are lowered. - predicates_
of ๐ - Returns a list of all type predicates (explicit and implicit) for the definition with
ID
def_id
. This includes all predicates returned byexplicit_predicates_of
, plus inferred constraints concerning which regions outlive other regions. - trait_
explicit_ ๐predicates_ and_ bounds - type_
param_ ๐predicates - Returns the predicates defined on
item_def_id
of the formX: Foo
whereX
is the type parameterdef_id
.