pub struct GeneratorState { /* private fields */ }Expand description
A generator object’s saved execution.
The reference keeps this as a JSAsyncFunctionState hanging off the object; the shape
here is the same, with a whole [Frame] standing in for its JSStackFrame plus the
separately allocated buffers.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for GeneratorState
impl !Send for GeneratorState
impl !Sync for GeneratorState
impl !UnwindSafe for GeneratorState
impl Forget for GeneratorState
impl Freeze for GeneratorState
impl Move for GeneratorState
impl Unpin for GeneratorState
impl UnsafeUnpin for GeneratorState
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