Type Alias generator::LocalGenerator
source · pub type LocalGenerator<'a, A, T> = GeneratorObj<'a, A, T, true>;
Expand description
the local generator type, can’t Send
Aliased Type§
struct LocalGenerator<'a, A, T> { /* private fields */ }
Implementations§
source§impl<'a, A, T> LocalGenerator<'a, A, T>
impl<'a, A, T> LocalGenerator<'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