Function rustc_typeck::collect::generator_kind[][src]

fn generator_kind(tcx: TyCtxt<'_>, def_id: DefId) -> Option<GeneratorKind>