Docs.rs
generator-light-0.3.1
generator-light 0.3.1
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
Nekrolm
Dependencies
either ^1
normal
criterion ^0.8
dev
genawaiter ^0.99
dev
Versions
2%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate generator_light
generator_
light
0.3.1
All Items
Crate Items
Re-exports
Modules
Macros
Structs
Traits
Functions
Crate
generator_
light
Copy item path
Source
Re-exports
§
pub use crate::generator_state::
GeneratorState
;
Modules
§
ext
generator_
state
Macros
§
suspend_
yield_
Structs
§
Yielder
Traits
§
Generator
Functions
§
generator
To build generator, pass an async function with a parameter: First parameter is Yielder – context handle to yield generated item