Trait rustc_middle::ty::ToPredicate [−][src]
pub trait ToPredicate<'tcx> {
fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>;
}pub trait ToPredicate<'tcx> {
fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>;
}fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>[src]impl<'tcx> ToPredicate<'tcx> for PredicateKind<'tcx>[src]fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>[src]impl<'tcx> ToPredicate<'tcx> for ConstnessAnd<TraitRef<'tcx>>[src]fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>[src]impl<'tcx> ToPredicate<'tcx> for ConstnessAnd<PolyTraitRef<'tcx>>[src]fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>[src]impl<'tcx> ToPredicate<'tcx> for ConstnessAnd<PolyTraitPredicate<'tcx>>[src]fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>[src]impl<'tcx> ToPredicate<'tcx> for Binder<'tcx, PredicateKind<'tcx>>[src]fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>[src]impl<'tcx> ToPredicate<'tcx> for PolyProjectionPredicate<'tcx>[src]fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>[src]impl<'tcx> ToPredicate<'tcx> for PolyRegionOutlivesPredicate<'tcx>[src]fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>[src]impl<'tcx> ToPredicate<'tcx> for PolyTypeOutlivesPredicate<'tcx>[src]fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>[src]