Function variant_idx

Source
fn variant_idx(tcx: TyCtxt<'_>, variant_def_id: DefId) -> VariantIdx