Skip to main content

Module predicates

Module predicates 

Source

Structs§

Clause
Reflects [ty::Clause] and adds a hash-consed predicate identifier.
CoercePredicate
Reflects [ty::CoercePredicate]
ExistentialProjection
Reflects [ty::ExistentialProjection]
ExistentialTraitRef
Reflects [ty::ExistentialTraitRef]
GenericPredicate
GenericPredicates
Reflects [ty::GenericPredicates]
OutlivesPredicate
Reflects [ty::OutlivesPredicate] as a named struct instead of a tuple struct. This is because the script converting JSONSchema types to OCaml doesn’t support tuple structs, and this is the only tuple struct in the whole AST.
Predicate
Reflects [ty::Predicate] and adds a hash-consed predicate identifier.
ProjectionPredicate
Expresses a constraints over an associated type.
SubtypePredicate
Reflects [ty::SubtypePredicate]
TraitPredicate
Reflects [ty::TraitClause]

Enums§

ClauseKind
Reflects [ty::ClauseKind]
ExistentialPredicate
A predicate without Self, for use in dyn Trait.
GenericPredicateId
Uniquely identifies a predicate.
HostEffectClause
NormalizesTo
PredicateKind
Reflects [ty::PredicateKind]
Term
Reflects [ty::Term]

Functions§

resolve_for_dyn 🔒

Type Aliases§

RegionOutlivesPredicate
Reflects [ty::RegionOutlivesPredicate]
TypeOutlivesPredicate
Reflects [ty::TypeOutlivesPredicate]