pub enum ControlFlowOperator<'a> {
End,
Block {
blockty: BlockType,
},
Loop {
blockty: BlockType,
},
If {
blockty: BlockType,
},
Else,
Br {
relative_depth: u32,
},
BrIf {
relative_depth: u32,
},
BrTable {
targets: BrTable<'a>,
},
Return,
Call {
function_index: u32,
},
CallIndirect {
type_index: u32,
table_index: u32,
table_byte: u8,
},
}Expand description
MVP operators which do some kind of control flow.
Variants§
Implementations§
Trait Implementations§
Source§impl<'a> From<ControlFlowOperator<'a>> for Operator<'a>
impl<'a> From<ControlFlowOperator<'a>> for Operator<'a>
Source§fn from(op: ControlFlowOperator<'a>) -> Self
fn from(op: ControlFlowOperator<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for ControlFlowOperator<'a>
impl<'a> RefUnwindSafe for ControlFlowOperator<'a>
impl<'a> Send for ControlFlowOperator<'a>
impl<'a> Sync for ControlFlowOperator<'a>
impl<'a> Unpin for ControlFlowOperator<'a>
impl<'a> UnwindSafe for ControlFlowOperator<'a>
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