pub struct ControlFrame {
pub kind: ControlKind,
pub block_type: BlockType,
pub outer_height: usize,
pub stack_floor: usize,
pub start_types: Vec<ValType>,
pub end_types: Vec<ValType>,
pub local_inits: Vec<bool>,
pub has_else: bool,
}Expand description
A structured control frame in the validator.
Fields§
§kind: ControlKind§block_type: BlockType§outer_height: usize§stack_floor: usize§start_types: Vec<ValType>§end_types: Vec<ValType>§local_inits: Vec<bool>§has_else: boolTrait Implementations§
Source§impl Clone for ControlFrame
impl Clone for ControlFrame
Source§fn clone(&self) -> ControlFrame
fn clone(&self) -> ControlFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ControlFrame
impl Debug for ControlFrame
impl Eq for ControlFrame
Source§impl PartialEq for ControlFrame
impl PartialEq for ControlFrame
impl StructuralPartialEq for ControlFrame
Auto Trait Implementations§
impl Freeze for ControlFrame
impl RefUnwindSafe for ControlFrame
impl Send for ControlFrame
impl Sync for ControlFrame
impl Unpin for ControlFrame
impl UnsafeUnpin for ControlFrame
impl UnwindSafe for ControlFrame
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