Function rustc_trait_selection::traits::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.