fn coroutine_layout<'tcx>(
cx: &LayoutCx<'tcx>,
ty: Ty<'tcx>,
def_id: DefId,
args: GenericArgsRef<'tcx>,
) -> Result<Layout<'tcx>, &'tcx LayoutError<'tcx>>
Expand description
Compute the full coroutine layout.
fn coroutine_layout<'tcx>(
cx: &LayoutCx<'tcx>,
ty: Ty<'tcx>,
def_id: DefId,
args: GenericArgsRef<'tcx>,
) -> Result<Layout<'tcx>, &'tcx LayoutError<'tcx>>
Compute the full coroutine layout.