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

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[src]

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, &'tcx List<GenericArg<'tcx>>> for &Substitution<RustInterner<'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, AliasEq<RustInterner<'tcx>>> for ProjectionPredicate<'tcx>[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

impl<'tcx> LowerInto<'tcx, Mutability> for Mutability[src]

impl<'tcx> LowerInto<'tcx, Mutability> for Mutability[src]

impl<'tcx> LowerInto<'tcx, Polarity> for ImplPolarity[src]

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

Loading content...

Implementors

Loading content...