Trait rustc::middle::ty::AsPredicate
[−]
[src]
pub trait AsPredicate<'tcx> {
fn as_predicate(&self) -> Predicate<'tcx>;
}Unstable
Required Methods
fn as_predicate(&self) -> Predicate<'tcx>
Unstable
Implementors
impl<'tcx> AsPredicate<'tcx> for TraitRef<'tcx>impl<'tcx> AsPredicate<'tcx> for PolyTraitRef<'tcx>impl<'tcx> AsPredicate<'tcx> for PolyEquatePredicate<'tcx>impl<'tcx> AsPredicate<'tcx> for PolyRegionOutlivesPredicateimpl<'tcx> AsPredicate<'tcx> for PolyTypeOutlivesPredicate<'tcx>impl<'tcx> AsPredicate<'tcx> for PolyProjectionPredicate<'tcx>