Struct wasmi_validation::func::BlockFrame
source · [−]pub struct BlockFrame {
pub started_with: StartedWith,
pub block_type: BlockType,
pub value_stack_len: usize,
pub polymorphic_stack: bool,
}
Expand description
Control stack frame.
Fields
started_with: StartedWith
The opcode that started this block frame.
block_type: BlockType
A signature, which is a block signature type indicating the number and types of result values of the region.
value_stack_len: usize
A limit integer value, which is an index into the value stack indicating where to reset it to on a branch to that label.
polymorphic_stack: bool
Boolean which signals whether value stack became polymorphic. Value stack starts in
a non-polymorphic state and becomes polymorphic only after an instruction that never passes
control further is executed, i.e. unreachable
, br
(but not br_if
!), etc.
Trait Implementations
sourceimpl Clone for BlockFrame
impl Clone for BlockFrame
sourcefn clone(&self) -> BlockFrame
fn clone(&self) -> BlockFrame
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for BlockFrame
impl Send for BlockFrame
impl Sync for BlockFrame
impl Unpin for BlockFrame
impl UnwindSafe for BlockFrame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more