Function rustc_ty_utils::layout::variant_info_for_generator
source · fn variant_info_for_generator<'tcx>(
cx: &LayoutCx<'tcx, TyCtxt<'tcx>>,
layout: TyAndLayout<'tcx>,
def_id: DefId,
substs: SubstsRef<'tcx>
) -> (Vec<VariantInfo>, Option<Size>)