pub struct Yielder<Input, Output> { /* private fields */ }Expand description
Yielder is an interface provided to every generator through which it returns a value.
Implementations§
Auto Trait Implementations§
impl<Input, Output> !Freeze for Yielder<Input, Output>
impl<Input, Output> !RefUnwindSafe for Yielder<Input, Output>
impl<Input, Output> !Send for Yielder<Input, Output>
impl<Input, Output> !Sync for Yielder<Input, Output>
impl<Input, Output> Unpin for Yielder<Input, Output>
impl<Input, Output> UnwindSafe for Yielder<Input, Output>where
Input: RefUnwindSafe,
Output: RefUnwindSafe,
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