pub type Generator<'a, A, T> = GeneratorObj<'a, A, T, false>;
Expand description
the generator type, the functor passed to it must be Send
Aliased Type§
struct Generator<'a, A, T> { /* private fields */ }
Implementations§
source§impl<'a, A, T> Generator<'a, A, T>
impl<'a, A, T> Generator<'a, A, T>
sourcepub fn scoped_init<F>(&mut self, f: F)
pub fn scoped_init<F>(&mut self, f: F)
init a heap based generator with scoped closure