Function rustc_ty_utils::layout::variant_info_for_adt
source · fn variant_info_for_adt<'tcx>(
cx: &LayoutCx<'tcx, TyCtxt<'tcx>>,
layout: TyAndLayout<'tcx>,
adt_def: AdtDef<'tcx>
) -> (Vec<VariantInfo>, Option<Size>)