Trait rustc_middle::ty::Interner
source · pub trait Interner: Sized {
Show 42 associated items
type DefId: Copy + Debug + Hash + Ord;
type AdtDef: Copy + Debug + Hash + Ord;
type GenericArgs: Copy + DebugWithInfcx<Self> + Hash + Ord + IntoIterator<Item = Self::GenericArg>;
type GenericArg: Copy + DebugWithInfcx<Self> + Hash + Ord;
type Term: Copy + Debug + Hash + Ord;
type Binder<T: TypeVisitable<Self>>: BoundVars<Self> + TypeSuperVisitable<Self>;
type BoundVars: IntoIterator<Item = Self::BoundVar>;
type BoundVar;
type CanonicalVars: Copy + Debug + Hash + Eq + IntoIterator<Item = CanonicalVarInfo<Self>>;
type Ty: Copy + DebugWithInfcx<Self> + Hash + Ord + Into<Self::GenericArg> + IntoKind<Kind = TyKind<Self>> + TypeSuperVisitable<Self> + Flags + Ty<Self>;
type Tys: Copy + Debug + Hash + Ord + IntoIterator<Item = Self::Ty>;
type AliasTy: Copy + DebugWithInfcx<Self> + Hash + Ord;
type ParamTy: Copy + Debug + Hash + Ord;
type BoundTy: Copy + Debug + Hash + Ord;
type PlaceholderTy: Copy + Debug + Hash + Ord + PlaceholderLike;
type ErrorGuaranteed: Copy + Debug + Hash + Ord;
type BoundExistentialPredicates: Copy + DebugWithInfcx<Self> + Hash + Ord;
type PolyFnSig: Copy + DebugWithInfcx<Self> + Hash + Ord;
type AllocId: Copy + Debug + Hash + Ord;
type Const: Copy + DebugWithInfcx<Self> + Hash + Ord + Into<Self::GenericArg> + IntoKind<Kind = ConstKind<Self>> + ConstTy<Self> + TypeSuperVisitable<Self> + Flags + Const<Self>;
type AliasConst: Copy + DebugWithInfcx<Self> + Hash + Ord;
type PlaceholderConst: Copy + Debug + Hash + Ord + PlaceholderLike;
type ParamConst: Copy + Debug + Hash + Ord;
type BoundConst: Copy + Debug + Hash + Ord;
type ValueConst: Copy + Debug + Hash + Ord;
type ExprConst: Copy + DebugWithInfcx<Self> + Hash + Ord;
type Region: Copy + DebugWithInfcx<Self> + Hash + Ord + Into<Self::GenericArg> + IntoKind<Kind = RegionKind<Self>> + Flags + Region<Self>;
type EarlyParamRegion: Copy + Debug + Hash + Ord;
type LateParamRegion: Copy + Debug + Hash + Ord;
type BoundRegion: Copy + Debug + Hash + Ord;
type InferRegion: Copy + DebugWithInfcx<Self> + Hash + Ord;
type PlaceholderRegion: Copy + Debug + Hash + Ord + PlaceholderLike;
type Predicate: Copy + Debug + Hash + Eq + TypeSuperVisitable<Self> + Flags;
type TraitPredicate: Copy + Debug + Hash + Eq;
type RegionOutlivesPredicate: Copy + Debug + Hash + Eq;
type TypeOutlivesPredicate: Copy + Debug + Hash + Eq;
type ProjectionPredicate: Copy + Debug + Hash + Eq;
type NormalizesTo: Copy + Debug + Hash + Eq;
type SubtypePredicate: Copy + Debug + Hash + Eq;
type CoercePredicate: Copy + Debug + Hash + Eq;
type ClosureKind: Copy + Debug + Hash + Eq;
// Required method
fn mk_canonical_var_infos(
self,
infos: &[CanonicalVarInfo<Self>]
) -> Self::CanonicalVars;
}
Required Associated Types§
type DefId: Copy + Debug + Hash + Ord
type AdtDef: Copy + Debug + Hash + Ord
type GenericArgs: Copy + DebugWithInfcx<Self> + Hash + Ord + IntoIterator<Item = Self::GenericArg>
type GenericArg: Copy + DebugWithInfcx<Self> + Hash + Ord
type Term: Copy + Debug + Hash + Ord
type Binder<T: TypeVisitable<Self>>: BoundVars<Self> + TypeSuperVisitable<Self>
type BoundVars: IntoIterator<Item = Self::BoundVar>
type BoundVar
type CanonicalVars: Copy + Debug + Hash + Eq + IntoIterator<Item = CanonicalVarInfo<Self>>
type Ty: Copy + DebugWithInfcx<Self> + Hash + Ord + Into<Self::GenericArg> + IntoKind<Kind = TyKind<Self>> + TypeSuperVisitable<Self> + Flags + Ty<Self>
type Tys: Copy + Debug + Hash + Ord + IntoIterator<Item = Self::Ty>
type AliasTy: Copy + DebugWithInfcx<Self> + Hash + Ord
type ParamTy: Copy + Debug + Hash + Ord
type BoundTy: Copy + Debug + Hash + Ord
type PlaceholderTy: Copy + Debug + Hash + Ord + PlaceholderLike
type ErrorGuaranteed: Copy + Debug + Hash + Ord
type BoundExistentialPredicates: Copy + DebugWithInfcx<Self> + Hash + Ord
type PolyFnSig: Copy + DebugWithInfcx<Self> + Hash + Ord
type AllocId: Copy + Debug + Hash + Ord
type Const: Copy + DebugWithInfcx<Self> + Hash + Ord + Into<Self::GenericArg> + IntoKind<Kind = ConstKind<Self>> + ConstTy<Self> + TypeSuperVisitable<Self> + Flags + Const<Self>
type AliasConst: Copy + DebugWithInfcx<Self> + Hash + Ord
type PlaceholderConst: Copy + Debug + Hash + Ord + PlaceholderLike
type ParamConst: Copy + Debug + Hash + Ord
type BoundConst: Copy + Debug + Hash + Ord
type ValueConst: Copy + Debug + Hash + Ord
type ExprConst: Copy + DebugWithInfcx<Self> + Hash + Ord
type Region: Copy + DebugWithInfcx<Self> + Hash + Ord + Into<Self::GenericArg> + IntoKind<Kind = RegionKind<Self>> + Flags + Region<Self>
type EarlyParamRegion: Copy + Debug + Hash + Ord
type LateParamRegion: Copy + Debug + Hash + Ord
type BoundRegion: Copy + Debug + Hash + Ord
type InferRegion: Copy + DebugWithInfcx<Self> + Hash + Ord
type PlaceholderRegion: Copy + Debug + Hash + Ord + PlaceholderLike
type Predicate: Copy + Debug + Hash + Eq + TypeSuperVisitable<Self> + Flags
type TraitPredicate: Copy + Debug + Hash + Eq
type RegionOutlivesPredicate: Copy + Debug + Hash + Eq
type TypeOutlivesPredicate: Copy + Debug + Hash + Eq
type ProjectionPredicate: Copy + Debug + Hash + Eq
type NormalizesTo: Copy + Debug + Hash + Eq
type SubtypePredicate: Copy + Debug + Hash + Eq
type CoercePredicate: Copy + Debug + Hash + Eq
type ClosureKind: Copy + Debug + Hash + Eq
Required Methods§
fn mk_canonical_var_infos( self, infos: &[CanonicalVarInfo<Self>] ) -> Self::CanonicalVars
Object Safety§
This trait is not object safe.