Function rustc_trait_selection::traits::vtable::vtable_entries
source ยท fn vtable_entries<'tcx>(
tcx: TyCtxt<'tcx>,
trait_ref: PolyTraitRef<'tcx>,
) -> &'tcx [VtblEntry<'tcx>]
Expand description
Given a trait trait_ref
, iterates the vtable entries
that come from trait_ref
, including its supertraits.