rustc_trait_selection::traits::vtable

Function 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.