pub struct Frame { /* private fields */ }Implementations§
Source§impl Frame
impl Frame
pub fn setup(func_id: usize, func: &Function) -> Frame
pub fn setup_no_locals(func_id: usize) -> Frame
pub fn top_operand(&self) -> ExecuteResult<Value>
pub fn pop_operand(&mut self) -> ExecuteResult<Value>
pub fn push_operand(&mut self, operand: Value)
pub fn set_local(&mut self, idx: u32, val: Value) -> ExecuteResult<()>
pub fn get_local(&mut self, idx: u32) -> ExecuteResult<Value>
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin 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