[−][src]Function rustc::traits::vtable_methods
fn vtable_methods<'a, 'tcx>(
tcx: TyCtxt<'a, 'tcx, 'tcx>,
trait_ref: PolyTraitRef<'tcx>
) -> Lrc<Vec<Option<(DefId, &'tcx Substs<'tcx>)>>>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Given a trait trait_ref
, iterates the vtable entries
that come from trait_ref
, including its supertraits.