Skip to main content

Module predicate

Module predicate 

Source

Re-exportsΒ§

use std::cmp::Ordering; πŸ”’
use rustc_data_structures::intern::Interned; πŸ”’
use rustc_hir::def_id::DefId; πŸ”’
use rustc_macros::StableHash; πŸ”’
use rustc_macros::extension; πŸ”’
use rustc_span::bug; πŸ”’
use rustc_type_ir as ir; πŸ”’
use crate::ty; πŸ”’
use crate::ty::EarlyBinder; πŸ”’
use crate::ty::Ty; πŸ”’
use crate::ty::TyCtxt; πŸ”’
use crate::ty::TypeFlags; πŸ”’
use crate::ty::Upcast; πŸ”’
use crate::ty::UpcastFrom; πŸ”’
use crate::ty::WithCachedTypeInfo; πŸ”’

ModulesΒ§

size_asserts πŸ”’

StructsΒ§

Clause
A subset of predicates which can be assumed by the trait solver. They show up in an item’s where clauses, hence the name Clause, and may either be user-written (such as traits) or may be inserted during lowering.
Predicate
A statement that can be proven by a trait solver. This includes things that may show up in where clauses, such as trait predicates and projection predicates, and also things that are emitted as part of type checking such as DynCompatible predicate which is emitted when a type is coerced to a trait object.

TraitsΒ§

ExistentialPredicateStableCmpExt

Type AliasesΒ§

AliasTerm
AliasTermKind
ArgOutlivesClause
ClauseKind
CoercePredicate
ExistentialPredicate
ExistentialProjection
ExistentialTraitRef
HostEffectClause
NormalizesTo
OutlivesClause
PolyCoercePredicate
PolyExistentialPredicate
PolyExistentialProjection
PolyExistentialTraitRef
PolyProjectionClause
PolyRegionOutlivesClause
PolySubtypePredicate
PolyTraitClause
PolyTraitRef
PolyTypeOutlivesClause
PredicateKind
ProjectionClause
RegionConstraint
RegionEqPredicate
RegionOutlivesClause
SubtypePredicate
TraitClause
TraitRef
TypeOutlivesClause