[−][src]Trait rustc_traits::chalk::lowering::LowerInto

pub(crate) trait LowerInto<'tcx, T> {
    fn lower_into(self, interner: &RustInterner<'tcx>) -> T;
}

Essentially an Into with a &RustInterner parameter

Required methods

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

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

Loading content...

Implementations on Foreign Types

impl<'tcx> LowerInto<'tcx, Substitution<RustInterner<'tcx>>> for SubstsRef<'tcx>[src]

impl<'tcx> LowerInto<'tcx, AliasTy<RustInterner<'tcx>>> for ProjectionTy<'tcx>[src]

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

impl<'tcx> LowerInto<'tcx, GoalData<RustInterner<'tcx>>> for Predicate<'tcx>[src]

impl<'tcx> LowerInto<'tcx, TraitRef<RustInterner<'tcx>>> for TraitRef<'tcx>[src]

impl<'tcx> LowerInto<'tcx, GoalData<RustInterner<'tcx>>> for PolyTraitPredicate<'tcx>[src]

impl<'tcx> LowerInto<'tcx, AliasEq<RustInterner<'tcx>>> for ProjectionPredicate<'tcx>[src]

impl<'tcx> LowerInto<'tcx, GoalData<RustInterner<'tcx>>> for PolyProjectionPredicate<'tcx>[src]

impl<'tcx> LowerInto<'tcx, Ty<RustInterner<'tcx>>> for Ty<'tcx>[src]

impl<'tcx> LowerInto<'tcx, Lifetime<RustInterner<'tcx>>> for Region<'tcx>[src]

impl<'tcx> LowerInto<'tcx, GenericArg<RustInterner<'tcx>>> for GenericArg<'tcx>[src]

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

impl<'tcx> LowerInto<'tcx, Binders<QuantifiedWhereClauses<RustInterner<'tcx>>>> for Binder<&'tcx List<ExistentialPredicate<'tcx>>>[src]

Loading content...

Implementors

Loading content...