Function rustc_ty_utils::ty::asyncness [−][src]
fn asyncness(tcx: TyCtxt<'_>, def_id: DefId) -> IsAsync
Expand description
Check if a function is async.
fn asyncness(tcx: TyCtxt<'_>, def_id: DefId) -> IsAsync
Check if a function is async.