pub struct LazyGenerator<T, F> { /* private fields */ }Expand description
Lazy generator wrapper that defers expensive computations
Implementations§
Trait Implementations§
Source§impl<T, F> Generator<T> for LazyGenerator<T, F>
impl<T, F> Generator<T> for LazyGenerator<T, F>
Auto Trait Implementations§
impl<T, F> Freeze for LazyGenerator<T, F>where
F: Freeze,
impl<T, F> RefUnwindSafe for LazyGenerator<T, F>where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F> Send for LazyGenerator<T, F>
impl<T, F> Sync for LazyGenerator<T, F>
impl<T, F> Unpin for LazyGenerator<T, F>
impl<T, F> UnwindSafe for LazyGenerator<T, F>where
F: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more