[−][src]Enum parity_wasm::elements::Instruction
Instruction
Variants
UnreachableNopBlock(BlockType)Loop(BlockType)If(BlockType)ElseEndBr(u32)BrIf(u32)BrTable(Box<[u32]>, u32)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]
impl Instructionpub fn is_block(&self) -> bool[src]
pub fn is_block(&self) -> boolIs this instruction starts the new block (which should end with terminal instruction).
pub fn is_terminal(&self) -> bool[src]
pub fn is_terminal(&self) -> boolIs this instruction determines the termination of instruction sequence
true for Instruction::End
Trait Implementations
impl Deserialize for Instruction[src]
impl Deserialize for Instructiontype Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>[src]
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>Deserialize type from serial i/o
impl Serialize for Instruction[src]
impl Serialize for Instructiontype Error = Error
Serialization error produced by serialization routine.
fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>[src]
fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>Serialize type to serial i/o
impl Clone for Instruction[src]
impl Clone for Instructionfn clone(&self) -> Instruction[src]
fn clone(&self) -> InstructionReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl PartialEq<Instruction> for Instruction[src]
impl PartialEq<Instruction> for Instructionfn eq(&self, other: &Instruction) -> bool[src]
fn eq(&self, other: &Instruction) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Instruction) -> bool[src]
fn ne(&self, other: &Instruction) -> boolThis method tests for !=.
impl Display for Instruction[src]
impl Display for Instructionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Debug for Instruction[src]
impl Debug for InstructionAuto Trait Implementations
impl Send for Instruction
impl Send for Instructionimpl Sync for Instruction
impl Sync for InstructionBlanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T> ToString for T where
T: Display + ?Sized, [src]
impl<T> ToString for T where
T: Display + ?Sized, impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, type Owned = T
fn to_owned(&self) -> T[src]
fn to_owned(&self) -> TCreates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)[src]
fn clone_into(&self, target: &mut T)🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>,