Struct wasmtime_environ::wasmparser::Frame
source · pub struct Frame {
pub kind: FrameKind,
pub block_type: BlockType,
pub height: usize,
pub unreachable: bool,
pub init_height: usize,
}
Expand description
A Wasm control flow block on the control flow stack during Wasm validation.
Fields§
§kind: FrameKind
Indicator for what kind of instruction pushed this frame.
block_type: BlockType
The type signature of this frame, represented as a singular return type or a type index pointing into the module’s types.
height: usize
The index, below which, this frame cannot modify the operand stack.
unreachable: bool
Whether this frame is unreachable so far.
init_height: usize
The number of initializations in the stack at the time of its creation
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
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
)