[][src]Type Definition rustc::ty::PolyTraitPredicate

type PolyTraitPredicate<'tcx> = Binder<TraitPredicate<'tcx>>;
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Methods

impl<'tcx> PolyTraitPredicate<'tcx>[src]

pub fn def_id(&self) -> DefId[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Trait Implementations

impl<'tcx> ToPolyTraitRef<'tcx> for PolyTraitPredicate<'tcx>[src]