Trait rustc_traits::chalk::lowering::LowerInto [−][src]
pub(crate) trait LowerInto<'tcx, T> {
fn lower_into(self, interner: &RustInterner<'tcx>) -> T;
}Expand description
Essentially an Into with a &RustInterner parameter
Required methods
fn lower_into(self, interner: &RustInterner<'tcx>) -> T
fn lower_into(self, interner: &RustInterner<'tcx>) -> TLower a rustc construct (e.g., ty::TraitPredicate) to a chalk type, consuming self.
Implementations on Foreign Types
impl<'tcx> LowerInto<'tcx, InEnvironment<Goal<RustInterner<'tcx>>>> for ChalkEnvironmentAndGoal<'tcx>
impl<'tcx> LowerInto<'tcx, InEnvironment<Goal<RustInterner<'tcx>>>> for ChalkEnvironmentAndGoal<'tcx>impl<'tcx> LowerInto<'tcx, Option<Binders<WhereClause<RustInterner<'tcx>>>>> for Predicate<'tcx>
impl<'tcx> LowerInto<'tcx, Option<Binders<WhereClause<RustInterner<'tcx>>>>> for Predicate<'tcx>fn lower_into(
self,
interner: &RustInterner<'tcx>
) -> Option<QuantifiedWhereClause<RustInterner<'tcx>>>impl<'tcx> LowerInto<'tcx, Binders<QuantifiedWhereClauses<RustInterner<'tcx>>>> for &'tcx List<Binder<'tcx, ExistentialPredicate<'tcx>>>
impl<'tcx> LowerInto<'tcx, Binders<QuantifiedWhereClauses<RustInterner<'tcx>>>> for &'tcx List<Binder<'tcx, ExistentialPredicate<'tcx>>>fn lower_into(
self,
interner: &RustInterner<'tcx>
) -> Binders<QuantifiedWhereClauses<RustInterner<'tcx>>>impl<'tcx> LowerInto<'tcx, Option<Binders<InlineBound<RustInterner<'tcx>>>>> for Predicate<'tcx>
impl<'tcx> LowerInto<'tcx, Option<Binders<InlineBound<RustInterner<'tcx>>>>> for Predicate<'tcx>fn lower_into(
self,
interner: &RustInterner<'tcx>
) -> Option<QuantifiedInlineBound<RustInterner<'tcx>>>