Struct 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 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