pub struct SavedFrame {
pub unit: u32,
pub bytecode: u32,
pub pc: u32,
pub argc: u32,
pub state: u8,
}Expand description
The header of a suspended frame: everything Frame holds that is not a
heap reference (the function is internal slot 0) or a position in the
register file.
Fields§
§unit: u32§bytecode: u32§pc: u32Where it resumes: the instruction after its suspension point.
argc: u32§state: u8The activation’s state (vm::suspend’s constants).
Trait Implementations§
Source§impl Clone for SavedFrame
impl Clone for SavedFrame
impl Copy for SavedFrame
Auto Trait Implementations§
impl Freeze for SavedFrame
impl RefUnwindSafe for SavedFrame
impl Send for SavedFrame
impl Sync for SavedFrame
impl Unpin for SavedFrame
impl UnsafeUnpin for SavedFrame
impl UnwindSafe for SavedFrame
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