pub struct Frame {
pub return_address: CodeAddress,
pub arg_count: ArgIndex,
pub base_pointer: FramePointer,
pub arguments: Vec<Value>,
pub closure_vars: HashMap<String, Value>,
pub function_handle: Option<FunctionHandle>,
pub this_value: Option<Value>,
pub constants: Vec<Value>,
}Fields§
§return_address: CodeAddress§arg_count: ArgIndex§base_pointer: FramePointer§arguments: Vec<Value>§closure_vars: HashMap<String, Value>§function_handle: Option<FunctionHandle>§this_value: Option<Value>§constants: Vec<Value>Implementations§
Source§impl Frame
impl Frame
pub fn new() -> Self
pub fn with_return_address(return_address: CodeAddress) -> Self
pub fn with_constants(constants: Vec<Value>) -> Self
pub fn get_constant(&self, index: ConstantIndex) -> Option<Value>
pub fn set_constants(&mut self, constants: Vec<Value>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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