pub trait ToPredicate<'tcx, P = Predicate<'tcx>> {
    // Required method
    fn to_predicate(self, tcx: TyCtxt<'tcx>) -> P;
}

Required Methods§

source

fn to_predicate(self, tcx: TyCtxt<'tcx>) -> P

Implementors§

source§

impl<'tcx> ToPredicate<'tcx, Clause<'tcx>> for ClauseKind<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Clause<'tcx>> for ProjectionPredicate<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Clause<'tcx>> for TraitPredicate<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Clause<'tcx>> for Binder<'tcx, ClauseKind<'tcx>>

source§

impl<'tcx> ToPredicate<'tcx, Clause<'tcx>> for Binder<'tcx, TraitRef<'tcx>>

source§

impl<'tcx> ToPredicate<'tcx, Clause<'tcx>> for TraitRef<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Clause<'tcx>> for PolyProjectionPredicate<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Clause<'tcx>> for PolyTraitPredicate<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for ClauseKind<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for PredicateKind<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for Clause<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for OutlivesPredicate<Ty<'tcx>, Region<'tcx>>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for ProjectionPredicate<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for TraitPredicate<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for Binder<'tcx, ClauseKind<'tcx>>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for Binder<'tcx, PredicateKind<'tcx>>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for Binder<'tcx, TraitRef<'tcx>>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for TraitRef<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for PolyProjectionPredicate<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for PolyRegionOutlivesPredicate<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Predicate<'tcx>> for PolyTraitPredicate<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, TraitPredicate<'tcx>> for TraitRef<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Binder<'tcx, TraitPredicate<'tcx>>> for Binder<'tcx, TraitRef<'tcx>>

source§

impl<'tcx, T> ToPredicate<'tcx, T> for T