Type Definition PolyTraitRef
Other items inrustc_middle::ty
type PolyTraitRef<'tcx> = Binder<'tcx, TraitRef<'tcx>>;
impl<'tcx> PolyTraitRef<'tcx>
pub fn self_ty(&self) -> Binder<'tcx, Ty<'tcx>>
pub fn def_id(&self) -> DefId
pub fn to_poly_trait_predicate(&self) -> PolyTraitPredicate<'tcx>