[−][src]Enum parity_wasm::elements::Instruction
Instruction.
Variants
UnreachableNopBlock(BlockType)Loop(BlockType)If(BlockType)ElseEndBr(u32)BrIf(u32)BrTable(Box<BrTableData>)ReturnCall(u32)CallIndirect(u32, u8)DropSelectGetLocal(u32)SetLocal(u32)TeeLocal(u32)GetGlobal(u32)SetGlobal(u32)I32Load(u32, u32)I64Load(u32, u32)F32Load(u32, u32)F64Load(u32, u32)I32Load8S(u32, u32)I32Load8U(u32, u32)I32Load16S(u32, u32)I32Load16U(u32, u32)I64Load8S(u32, u32)I64Load8U(u32, u32)I64Load16S(u32, u32)I64Load16U(u32, u32)I64Load32S(u32, u32)I64Load32U(u32, u32)I32Store(u32, u32)I64Store(u32, u32)F32Store(u32, u32)F64Store(u32, u32)I32Store8(u32, u32)I32Store16(u32, u32)I64Store8(u32, u32)I64Store16(u32, u32)I64Store32(u32, u32)CurrentMemory(u8)GrowMemory(u8)I32Const(i32)I64Const(i64)F32Const(u32)F64Const(u64)I32EqzI32EqI32NeI32LtSI32LtUI32GtSI32GtUI32LeSI32LeUI32GeSI32GeUI64EqzI64EqI64NeI64LtSI64LtUI64GtSI64GtUI64LeSI64LeUI64GeSI64GeUF32EqF32NeF32LtF32GtF32LeF32GeF64EqF64NeF64LtF64GtF64LeF64GeI32ClzI32CtzI32PopcntI32AddI32SubI32MulI32DivSI32DivUI32RemSI32RemUI32AndI32OrI32XorI32ShlI32ShrSI32ShrUI32RotlI32RotrI64ClzI64CtzI64PopcntI64AddI64SubI64MulI64DivSI64DivUI64RemSI64RemUI64AndI64OrI64XorI64ShlI64ShrSI64ShrUI64RotlI64RotrF32AbsF32NegF32CeilF32FloorF32TruncF32NearestF32SqrtF32AddF32SubF32MulF32DivF32MinF32MaxF32CopysignF64AbsF64NegF64CeilF64FloorF64TruncF64NearestF64SqrtF64AddF64SubF64MulF64DivF64MinF64MaxF64CopysignI32WrapI64I32TruncSF32I32TruncUF32I32TruncSF64I32TruncUF64I64ExtendSI32I64ExtendUI32I64TruncSF32I64TruncUF32I64TruncSF64I64TruncUF64F32ConvertSI32F32ConvertUI32F32ConvertSI64F32ConvertUI64F32DemoteF64F64ConvertSI32F64ConvertUI32F64ConvertSI64F64ConvertUI64F64PromoteF32I32ReinterpretF32I64ReinterpretF64F32ReinterpretI32F64ReinterpretI64Methods
impl Instruction[src]
pub fn is_block(&self) -> bool[src]
Is this instruction starts the new block (which should end with terminal instruction).
pub fn is_terminal(&self) -> bool[src]
Is this instruction determines the termination of instruction sequence?
true for Instruction::End
Trait Implementations
impl Deserialize for Instruction[src]
type Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>[src]
impl Serialize for Instruction[src]
type Error = Error
Serialization error produced by serialization routine.
fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>[src]
impl Clone for Instruction[src]
fn clone(&self) -> Instruction[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Eq for Instruction[src]
impl PartialEq<Instruction> for Instruction[src]
fn eq(&self, other: &Instruction) -> bool[src]
fn ne(&self, other: &Instruction) -> bool[src]
impl Debug for Instruction[src]
impl Display for Instruction[src]
impl Hash for Instruction[src]
Auto Trait Implementations
impl Unpin for Instruction
impl Sync for Instruction
impl Send for Instruction
impl UnwindSafe for Instruction
impl RefUnwindSafe for Instruction
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
ⓘImportant traits for &'_ mut Wfn borrow_mut(&mut self) -> &mut T[src]
ⓘImportant traits for &'_ mut W
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,