Skip to main content

is_desugared_body_coroutine

Function is_desugared_body_coroutine 

Source
fn is_desugared_body_coroutine(tcx: TyCtxt<'_>, did: LocalDefId) -> bool
Expand description

Whether did is the coroutine holding the body of an async fn, gen fn, async gen fn, or async closure, as opposed to one written as an async {} block.