pub enum State<Y, R> {
Yield(Y),
Return(R),
}Variants§
Auto Trait Implementations§
impl<Y, R> Freeze for State<Y, R>
impl<Y, R> RefUnwindSafe for State<Y, R>where
Y: RefUnwindSafe,
R: RefUnwindSafe,
impl<Y, R> Send for State<Y, R>
impl<Y, R> Sync for State<Y, R>
impl<Y, R> Unpin for State<Y, R>
impl<Y, R> UnwindSafe for State<Y, R>where
Y: UnwindSafe,
R: 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