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

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

Essentially an Into with a &RustInterner parameter

Required methods

pub(crate) 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 Binder<&'tcx List<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...