pub struct CallFrame {
pub function_id: FunctionId,
pub ip: usize,
pub base_slot: usize,
pub locals: Vec<JsValue>,
pub bytecode: Vec<u8>,
pub constants: Vec<Constant>,
}Expand description
A function call frame on the call stack
Fields§
§function_id: FunctionIdFunction template being executed
ip: usizeInstruction pointer within the function’s bytecode
base_slot: usizeBase slot on the operand stack
locals: Vec<JsValue>Local variables
bytecode: Vec<u8>Bytecode reference (copied from template for execution)
constants: Vec<Constant>Constants reference
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallFrame
impl RefUnwindSafe for CallFrame
impl Send for CallFrame
impl Sync for CallFrame
impl Unpin for CallFrame
impl UnwindSafe for CallFrame
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)