struct CallFrame {
param_names: Vec<String>,
return_address: usize,
stack_offset: usize,
locals: HashMap<String, Value>,
}
Expand description
Call frame to track function calls
Fields§
§param_names: Vec<String>
Parameter names for the function (for local variable checking)
return_address: usize
Address to return to after function completes
stack_offset: usize
Stack position before function call
locals: HashMap<String, Value>
Local variables for the function
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§
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