rustc_middle::ty

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>