pub struct Generator<F>{ /* private fields */ }Expand description
Helper struct for custom generator functions
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for Generator<F>where
F: Freeze,
impl<F> RefUnwindSafe for Generator<F>where
F: RefUnwindSafe,
impl<F> Send for Generator<F>where
F: Send,
impl<F> Sync for Generator<F>where
F: Sync,
impl<F> Unpin for Generator<F>where
F: Unpin,
impl<F> UnwindSafe for Generator<F>where
F: 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