☰
Type Definition PolyTraitPredicate
Methods
def_id
self_ty
Trait Implementations
ToPolyTraitRef<'tcx>
ToPredicate<'tcx>
Other items in
rustc_middle
::
ty
All crates
?
Type Definition
rustc_middle
::
ty
::
PolyTraitPredicate
[
−
]
[src]
pub type PolyTraitPredicate<'tcx> =
Binder
<'tcx,
TraitPredicate
<'tcx>>;
Implementations
[src]
impl<'tcx>
PolyTraitPredicate
<'tcx>
[src]
pub fn
def_id
(self) ->
DefId
[src]
pub fn
self_ty
(self) ->
Binder
<'tcx,
Ty
<'tcx>>
Trait Implementations
[src]
impl<'tcx>
ToPolyTraitRef
<'tcx> for
PolyTraitPredicate
<'tcx>
[src]
fn
to_poly_trait_ref
(&self) ->
PolyTraitRef
<'tcx>
[src]
impl<'tcx>
ToPredicate
<'tcx> for
PolyTraitPredicate
<'tcx>
[src]
fn
to_predicate
(self, tcx:
TyCtxt
<'tcx>) ->
Predicate
<'tcx>