#[non_exhaustive]pub struct CallFrame {
pub ip: usize,
pub top: usize,
pub isolated: Isolated,
pub out: Output,
}
Expand description
A call frame.
This is used to store the return point after an instruction has been run.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ip: usize
The stored instruction pointer.
top: usize
The top of the stack at the time of the call to ensure stack isolation across function calls.
I.e. a function should not be able to manipulate the size of any other stack than its own.
isolated: Isolated
Indicates that the call frame is isolated and should force an exit into the vm execution context.
out: Output
Keep the value produced from the call frame.
Trait Implementations§
impl Copy for CallFrame
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)