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,
args: GenericArgsRef<'tcx>
) -> (Vec<VariantInfo>, Option<Size>)