pub enum ReturnOrYield {
Return(KValue),
Yield(KValue),
}Expand description
An output value from KotoVm::continue_running, either from a return or yield expression
Variants§
Auto Trait Implementations§
impl !RefUnwindSafe for ReturnOrYield
impl !Send for ReturnOrYield
impl !Sync for ReturnOrYield
impl !UnwindSafe for ReturnOrYield
impl Freeze for ReturnOrYield
impl Unpin for ReturnOrYield
impl UnsafeUnpin for ReturnOrYield
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