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§
pub 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