rustc_middle::ty::vtable

Function vtable_min_entries

Source
pub(crate) fn vtable_min_entries<'tcx>(
    tcx: TyCtxt<'tcx>,
    trait_ref: Option<PolyExistentialTraitRef<'tcx>>,
) -> usize