pub const fn lazy<G: Generate, F: Fn() -> G>(generator: F) -> Lazy<G, F>
Defers the construction of a generator until it is used.
This is essential for creating recursive generators. See Lazy for details.
Lazy