Module fringe::generator
[−]
[src]
Generators.
Generators allow repeatedly suspending the execution of a function, returning a value to the caller, and resuming the suspended function afterwards.
Structs
Generator |
Generator wraps a function and allows suspending its execution more than once, returning a value each time. |
Yielder |
Yielder is an interface provided to every generator through which it returns a value. |
Enums
State |