Enum TargetOp

Source
#[repr(u8)]
pub enum TargetOp {
Show 105 variants Drop = 1, Dup = 2, Swap2 = 3, Select = 4, Call = 5, Return = 6, Halt = 7, GetLocal = 8, SetLocal = 9, TeeLocal = 10, GetSlotIndirect = 11, GetSlot = 12, SetSlot = 13, ResetSlots = 14, NativeInvoke = 15, CurrentMemory = 16, GrowMemory = 17, Nop = 18, Unreachable = 19, NotSupported = 20, Jmp = 21, JmpIf = 22, JmpEither = 23, JmpTable = 24, I32Load = 25, I32Load8U = 26, I32Load8S = 27, I32Load16U = 28, I32Load16S = 29, I32Store = 30, I32Store8 = 31, I32Store16 = 32, I32Const = 33, I32Ctz = 34, I32Clz = 35, I32Popcnt = 36, I32Add = 37, I32Sub = 38, I32Mul = 39, I32DivU = 40, I32DivS = 41, I32RemU = 42, I32RemS = 43, I32And = 44, I32Or = 45, I32Xor = 46, I32Shl = 47, I32ShrU = 48, I32ShrS = 49, I32Rotl = 50, I32Rotr = 51, I32Eq = 52, I32Ne = 53, I32LtU = 54, I32LtS = 55, I32LeU = 56, I32LeS = 57, I32GtU = 58, I32GtS = 59, I32GeU = 60, I32GeS = 61, I32WrapI64 = 62, I64Load = 63, I64Load8U = 64, I64Load8S = 65, I64Load16U = 66, I64Load16S = 67, I64Load32U = 68, I64Load32S = 69, I64Store = 70, I64Store8 = 71, I64Store16 = 72, I64Store32 = 73, I64Const = 74, I64Ctz = 75, I64Clz = 76, I64Popcnt = 77, I64Add = 78, I64Sub = 79, I64Mul = 80, I64DivU = 81, I64DivS = 82, I64RemU = 83, I64RemS = 84, I64And = 85, I64Or = 86, I64Xor = 87, I64Shl = 88, I64ShrU = 89, I64ShrS = 90, I64Rotl = 91, I64Rotr = 92, I64Eq = 93, I64Ne = 94, I64LtU = 95, I64LtS = 96, I64LeU = 97, I64LeS = 98, I64GtU = 99, I64GtS = 100, I64GeU = 101, I64GeS = 102, I64ExtendI32U = 103, I64ExtendI32S = 104, Never = 105,
}

Variants§

§

Drop = 1

§

Dup = 2

§

Swap2 = 3

§

Select = 4

§

Call = 5

§

Return = 6

§

Halt = 7

§

GetLocal = 8

§

SetLocal = 9

§

TeeLocal = 10

§

GetSlotIndirect = 11

§

GetSlot = 12

§

SetSlot = 13

§

ResetSlots = 14

§

NativeInvoke = 15

§

CurrentMemory = 16

§

GrowMemory = 17

§

Nop = 18

§

Unreachable = 19

§

NotSupported = 20

§

Jmp = 21

§

JmpIf = 22

§

JmpEither = 23

§

JmpTable = 24

§

I32Load = 25

§

I32Load8U = 26

§

I32Load8S = 27

§

I32Load16U = 28

§

I32Load16S = 29

§

I32Store = 30

§

I32Store8 = 31

§

I32Store16 = 32

§

I32Const = 33

§

I32Ctz = 34

§

I32Clz = 35

§

I32Popcnt = 36

§

I32Add = 37

§

I32Sub = 38

§

I32Mul = 39

§

I32DivU = 40

§

I32DivS = 41

§

I32RemU = 42

§

I32RemS = 43

§

I32And = 44

§

I32Or = 45

§

I32Xor = 46

§

I32Shl = 47

§

I32ShrU = 48

§

I32ShrS = 49

§

I32Rotl = 50

§

I32Rotr = 51

§

I32Eq = 52

§

I32Ne = 53

§

I32LtU = 54

§

I32LtS = 55

§

I32LeU = 56

§

I32LeS = 57

§

I32GtU = 58

§

I32GtS = 59

§

I32GeU = 60

§

I32GeS = 61

§

I32WrapI64 = 62

§

I64Load = 63

§

I64Load8U = 64

§

I64Load8S = 65

§

I64Load16U = 66

§

I64Load16S = 67

§

I64Load32U = 68

§

I64Load32S = 69

§

I64Store = 70

§

I64Store8 = 71

§

I64Store16 = 72

§

I64Store32 = 73

§

I64Const = 74

§

I64Ctz = 75

§

I64Clz = 76

§

I64Popcnt = 77

§

I64Add = 78

§

I64Sub = 79

§

I64Mul = 80

§

I64DivU = 81

§

I64DivS = 82

§

I64RemU = 83

§

I64RemS = 84

§

I64And = 85

§

I64Or = 86

§

I64Xor = 87

§

I64Shl = 88

§

I64ShrU = 89

§

I64ShrS = 90

§

I64Rotl = 91

§

I64Rotr = 92

§

I64Eq = 93

§

I64Ne = 94

§

I64LtU = 95

§

I64LtS = 96

§

I64LeU = 97

§

I64LeS = 98

§

I64GtU = 99

§

I64GtS = 100

§

I64GeU = 101

§

I64GeS = 102

§

I64ExtendI32U = 103

§

I64ExtendI32S = 104

§

Never = 105

Trait Implementations§

Source§

impl Clone for TargetOp

Source§

fn clone(&self) -> TargetOp

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TargetOp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for TargetOp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.