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.
fn vtable_entries<'tcx>(
tcx: TyCtxt<'tcx>,
trait_ref: PolyTraitRef<'tcx>,
) -> &'tcx [VtblEntry<'tcx>]
Given a trait trait_ref
, iterates the vtable entries
that come from trait_ref
, including its supertraits.