rustc_middle::ty::predicate

Trait ToPolyTraitRef

Source
pub trait ToPolyTraitRef<'tcx> {
    // Required method
    fn to_poly_trait_ref(&self) -> PolyTraitRef<'tcx>;
}

Required Methods§

Implementors§

Source§

impl<'tcx> ToPolyTraitRef<'tcx> for PolyTraitPredicate<'tcx>