pub(crate) trait LowerInto<'tcx, T> {
    // Required method
    fn lower_into(self, interner: RustInterner<'tcx>) -> T;
}
Expand description

Essentially an Into with a &RustInterner parameter

Required Methods§

source

fn lower_into(self, interner: RustInterner<'tcx>) -> T

Lower a rustc construct (e.g., ty::TraitPredicate) to a chalk type, consuming self.

Implementations on Foreign Types§

source§

impl<'tcx> LowerInto<'tcx, GenericArg<'tcx>> for &GenericArg<RustInterner<'tcx>>

source§

fn lower_into(self, interner: RustInterner<'tcx>) -> GenericArg<'tcx>

source§

impl<'tcx> LowerInto<'tcx, Option<Binders<InlineBound<RustInterner<'tcx>>>>> for Predicate<'tcx>

source§

impl<'tcx> LowerInto<'tcx, AliasEqBound<RustInterner<'tcx>>> for ProjectionPredicate<'tcx>

source§

fn lower_into( self, interner: RustInterner<'tcx> ) -> AliasEqBound<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, Ty<RustInterner<'tcx>>> for Ty<'tcx>

source§

fn lower_into(self, interner: RustInterner<'tcx>) -> Ty<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, GoalData<RustInterner<'tcx>>> for Predicate<'tcx>

source§

fn lower_into( self, interner: RustInterner<'tcx> ) -> GoalData<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, Const<RustInterner<'tcx>>> for Const<'tcx>

source§

fn lower_into(self, interner: RustInterner<'tcx>) -> Const<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, FnSig<RustInterner<'tcx>>> for Binder<'tcx, FnSig<'tcx>>

source§

fn lower_into(self, _interner: RustInterner<'_>) -> FnSig<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, Option<Binders<WhereClause<RustInterner<'tcx>>>>> for Predicate<'tcx>

source§

impl<'tcx> LowerInto<'tcx, TraitBound<RustInterner<'tcx>>> for TraitRef<'tcx>

source§

fn lower_into( self, interner: RustInterner<'tcx> ) -> TraitBound<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, Substitution<RustInterner<'tcx>>> for SubstsRef<'tcx>

source§

fn lower_into( self, interner: RustInterner<'tcx> ) -> Substitution<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, Mutability> for Mutability

source§

fn lower_into(self, _interner: RustInterner<'tcx>) -> Mutability

source§

impl<'tcx> LowerInto<'tcx, &'tcx List<GenericArg<'tcx>>> for &Substitution<RustInterner<'tcx>>

source§

fn lower_into(self, interner: RustInterner<'tcx>) -> SubstsRef<'tcx>

source§

impl<'tcx> LowerInto<'tcx, Region<'tcx>> for &Lifetime<RustInterner<'tcx>>

source§

fn lower_into(self, interner: RustInterner<'tcx>) -> Region<'tcx>

source§

impl<'tcx> LowerInto<'tcx, TraitRef<RustInterner<'tcx>>> for TraitRef<'tcx>

source§

fn lower_into( self, interner: RustInterner<'tcx> ) -> TraitRef<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, Ty<'tcx>> for &Ty<RustInterner<'tcx>>

source§

fn lower_into(self, interner: RustInterner<'tcx>) -> Ty<'tcx>

source§

impl<'tcx> LowerInto<'tcx, InEnvironment<Goal<RustInterner<'tcx>>>> for ChalkEnvironmentAndGoal<'tcx>

source§

fn lower_into( self, interner: RustInterner<'tcx> ) -> InEnvironment<Goal<RustInterner<'tcx>>>

source§

impl<'tcx> LowerInto<'tcx, Const<'tcx>> for &Const<RustInterner<'tcx>>

source§

fn lower_into(self, interner: RustInterner<'tcx>) -> Const<'tcx>

source§

impl<'tcx> LowerInto<'tcx, Mutability> for Mutability

source§

fn lower_into(self, _interner: RustInterner<'tcx>) -> Mutability

source§

impl<'tcx> LowerInto<'tcx, Lifetime<RustInterner<'tcx>>> for Region<'tcx>

source§

fn lower_into( self, interner: RustInterner<'tcx> ) -> Lifetime<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, Substitution<RustInterner<'tcx>>> for &'tcx List<Ty<'tcx>>

source§

fn lower_into( self, interner: RustInterner<'tcx> ) -> Substitution<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, AliasEq<RustInterner<'tcx>>> for ProjectionPredicate<'tcx>

source§

fn lower_into(self, interner: RustInterner<'tcx>) -> AliasEq<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, Variance> for Variance

source§

fn lower_into(self, _interner: RustInterner<'tcx>) -> Variance

source§

impl<'tcx> LowerInto<'tcx, Polarity> for ImplPolarity

source§

fn lower_into(self, _interner: RustInterner<'tcx>) -> Polarity

source§

impl<'tcx> LowerInto<'tcx, GenericArg<RustInterner<'tcx>>> for GenericArg<'tcx>

source§

fn lower_into( self, interner: RustInterner<'tcx> ) -> GenericArg<RustInterner<'tcx>>

source§

impl<'tcx> LowerInto<'tcx, Binders<QuantifiedWhereClauses<RustInterner<'tcx>>>> for &'tcx List<PolyExistentialPredicate<'tcx>>

Implementors§