Skip to main content

Opcode

Enum Opcode 

Source
#[repr(u8)]
pub enum Opcode {
Show 256 variants Nop = 0, AconstNull = 1, IconstM1 = 2, Iconst0 = 3, Iconst1 = 4, Iconst2 = 5, Iconst3 = 6, Iconst4 = 7, Iconst5 = 8, Lconst0 = 9, Lconst1 = 10, Fconst0 = 11, Fconst1 = 12, Fconst2 = 13, Dconst0 = 14, Dconst1 = 15, Bipush = 16, Sipush = 17, Ldc = 18, LdcW = 19, Ldc2W = 20, Iload = 21, Lload = 22, Fload = 23, Dload = 24, Aload = 25, Iload0 = 26, Iload1 = 27, Iload2 = 28, Iload3 = 29, Lload0 = 30, Lload1 = 31, Lload2 = 32, Lload3 = 33, Fload0 = 34, Fload1 = 35, Fload2 = 36, Fload3 = 37, Dload0 = 38, Dload1 = 39, Dload2 = 40, Dload3 = 41, Aload0 = 42, Aload1 = 43, Aload2 = 44, Aload3 = 45, Iaload = 46, Laload = 47, Faload = 48, Daload = 49, Aaload = 50, Baload = 51, Caload = 52, Saload = 53, Istore = 54, Lstore = 55, Fstore = 56, Dstore = 57, Astore = 58, Istore0 = 59, Istore1 = 60, Istore2 = 61, Istore3 = 62, Lstore0 = 63, Lstore1 = 64, Lstore2 = 65, Lstore3 = 66, Fstore0 = 67, Fstore1 = 68, Fstore2 = 69, Fstore3 = 70, Dstore0 = 71, Dstore1 = 72, Dstore2 = 73, Dstore3 = 74, Astore0 = 75, Astore1 = 76, Astore2 = 77, Astore3 = 78, Iastore = 79, Lastore = 80, Fastore = 81, Dastore = 82, Aastore = 83, Bastore = 84, Castore = 85, Sastore = 86, Pop = 87, Pop2 = 88, Dup = 89, DupX1 = 90, DupX2 = 91, Dup2 = 92, Dup2X1 = 93, Dup2X2 = 94, Swap = 95, Iadd = 96, Ladd = 97, Fadd = 98, Dadd = 99, Isub = 100, Lsub = 101, Fsub = 102, Dsub = 103, Imul = 104, Lmul = 105, Fmul = 106, Dmul = 107, Idiv = 108, Ldiv = 109, Fdiv = 110, Ddiv = 111, Irem = 112, Lrem = 113, Frem = 114, Drem = 115, Ineg = 116, Lneg = 117, Fneg = 118, Dneg = 119, Ishl = 120, Lshl = 121, Ishr = 122, Lshr = 123, Iushr = 124, Lushr = 125, Iand = 126, Land = 127, Ior = 128, Lor = 129, Ixor = 130, Lxor = 131, Iinc = 132, I2l = 133, I2f = 134, I2d = 135, L2i = 136, L2f = 137, L2d = 138, F2i = 139, F2l = 140, F2d = 141, D2i = 142, D2l = 143, D2f = 144, I2b = 145, I2c = 146, I2s = 147, Lcmp = 148, Fcmpl = 149, Fcmpg = 150, Dcmpl = 151, Dcmpg = 152, Ifeq = 153, Ifne = 154, Iflt = 155, Ifge = 156, Ifgt = 157, Ifle = 158, IfIcmpeq = 159, IfIcmpne = 160, IfIcmplt = 161, IfIcmpge = 162, IfIcmpgt = 163, IfIcmple = 164, IfAcmpeq = 165, IfAcmpne = 166, Goto = 167, Jsr = 168, Ret = 169, Tableswitch = 170, Lookupswitch = 171, Ireturn = 172, Lreturn = 173, Freturn = 174, Dreturn = 175, Areturn = 176, Return = 177, Getstatic = 178, Putstatic = 179, Getfield = 180, Putfield = 181, Invokevirtual = 182, Invokespecial = 183, Invokestatic = 184, Invokeinterface = 185, Invokedynamic = 186, New = 187, Newarray = 188, Anewarray = 189, Arraylength = 190, Athrow = 191, Checkcast = 192, Instanceof = 193, Monitorenter = 194, Monitorexit = 195, Wide = 196, Multianewarray = 197, Ifnull = 198, Ifnonnull = 199, GotoW = 200, JsrW = 201, Breakpoint = 202, ReservedCB = 203, ReservedCC = 204, ReservedCD = 205, ReservedCE = 206, ReservedCF = 207, ReservedD0 = 208, ReservedD1 = 209, ReservedD2 = 210, ReservedD3 = 211, ReservedD4 = 212, ReservedD5 = 213, ReservedD6 = 214, ReservedD7 = 215, ReservedD8 = 216, ReservedD9 = 217, ReservedDA = 218, ReservedDB = 219, ReservedDC = 220, ReservedDD = 221, ReservedDE = 222, ReservedDF = 223, ReservedE0 = 224, ReservedE1 = 225, ReservedE2 = 226, ReservedE3 = 227, ReservedE4 = 228, ReservedE5 = 229, ReservedE6 = 230, ReservedE7 = 231, ReservedE8 = 232, ReservedE9 = 233, ReservedEA = 234, ReservedEB = 235, ReservedEC = 236, ReservedED = 237, ReservedEE = 238, ReservedEF = 239, ReservedF0 = 240, ReservedF1 = 241, ReservedF2 = 242, ReservedF3 = 243, ReservedF4 = 244, ReservedF5 = 245, ReservedF6 = 246, ReservedF7 = 247, ReservedF8 = 248, ReservedF9 = 249, ReservedFA = 250, ReservedFB = 251, ReservedFC = 252, ReservedFD = 253, Impdep1 = 254, Impdep2 = 255,
}
Expand description

Stable identity for every byte in the JVM opcode space.

Variants§

§

Nop = 0

JVM opcode nop (0x00).

§

AconstNull = 1

JVM opcode aconst_null (0x01).

§

IconstM1 = 2

JVM opcode iconst_m1 (0x02).

§

Iconst0 = 3

JVM opcode iconst_0 (0x03).

§

Iconst1 = 4

JVM opcode iconst_1 (0x04).

§

Iconst2 = 5

JVM opcode iconst_2 (0x05).

§

Iconst3 = 6

JVM opcode iconst_3 (0x06).

§

Iconst4 = 7

JVM opcode iconst_4 (0x07).

§

Iconst5 = 8

JVM opcode iconst_5 (0x08).

§

Lconst0 = 9

JVM opcode lconst_0 (0x09).

§

Lconst1 = 10

JVM opcode lconst_1 (0x0a).

§

Fconst0 = 11

JVM opcode fconst_0 (0x0b).

§

Fconst1 = 12

JVM opcode fconst_1 (0x0c).

§

Fconst2 = 13

JVM opcode fconst_2 (0x0d).

§

Dconst0 = 14

JVM opcode dconst_0 (0x0e).

§

Dconst1 = 15

JVM opcode dconst_1 (0x0f).

§

Bipush = 16

JVM opcode bipush (0x10).

§

Sipush = 17

JVM opcode sipush (0x11).

§

Ldc = 18

JVM opcode ldc (0x12).

§

LdcW = 19

JVM opcode ldc_w (0x13).

§

Ldc2W = 20

JVM opcode ldc2_w (0x14).

§

Iload = 21

JVM opcode iload (0x15).

§

Lload = 22

JVM opcode lload (0x16).

§

Fload = 23

JVM opcode fload (0x17).

§

Dload = 24

JVM opcode dload (0x18).

§

Aload = 25

JVM opcode aload (0x19).

§

Iload0 = 26

JVM opcode iload_0 (0x1a).

§

Iload1 = 27

JVM opcode iload_1 (0x1b).

§

Iload2 = 28

JVM opcode iload_2 (0x1c).

§

Iload3 = 29

JVM opcode iload_3 (0x1d).

§

Lload0 = 30

JVM opcode lload_0 (0x1e).

§

Lload1 = 31

JVM opcode lload_1 (0x1f).

§

Lload2 = 32

JVM opcode lload_2 (0x20).

§

Lload3 = 33

JVM opcode lload_3 (0x21).

§

Fload0 = 34

JVM opcode fload_0 (0x22).

§

Fload1 = 35

JVM opcode fload_1 (0x23).

§

Fload2 = 36

JVM opcode fload_2 (0x24).

§

Fload3 = 37

JVM opcode fload_3 (0x25).

§

Dload0 = 38

JVM opcode dload_0 (0x26).

§

Dload1 = 39

JVM opcode dload_1 (0x27).

§

Dload2 = 40

JVM opcode dload_2 (0x28).

§

Dload3 = 41

JVM opcode dload_3 (0x29).

§

Aload0 = 42

JVM opcode aload_0 (0x2a).

§

Aload1 = 43

JVM opcode aload_1 (0x2b).

§

Aload2 = 44

JVM opcode aload_2 (0x2c).

§

Aload3 = 45

JVM opcode aload_3 (0x2d).

§

Iaload = 46

JVM opcode iaload (0x2e).

§

Laload = 47

JVM opcode laload (0x2f).

§

Faload = 48

JVM opcode faload (0x30).

§

Daload = 49

JVM opcode daload (0x31).

§

Aaload = 50

JVM opcode aaload (0x32).

§

Baload = 51

JVM opcode baload (0x33).

§

Caload = 52

JVM opcode caload (0x34).

§

Saload = 53

JVM opcode saload (0x35).

§

Istore = 54

JVM opcode istore (0x36).

§

Lstore = 55

JVM opcode lstore (0x37).

§

Fstore = 56

JVM opcode fstore (0x38).

§

Dstore = 57

JVM opcode dstore (0x39).

§

Astore = 58

JVM opcode astore (0x3a).

§

Istore0 = 59

JVM opcode istore_0 (0x3b).

§

Istore1 = 60

JVM opcode istore_1 (0x3c).

§

Istore2 = 61

JVM opcode istore_2 (0x3d).

§

Istore3 = 62

JVM opcode istore_3 (0x3e).

§

Lstore0 = 63

JVM opcode lstore_0 (0x3f).

§

Lstore1 = 64

JVM opcode lstore_1 (0x40).

§

Lstore2 = 65

JVM opcode lstore_2 (0x41).

§

Lstore3 = 66

JVM opcode lstore_3 (0x42).

§

Fstore0 = 67

JVM opcode fstore_0 (0x43).

§

Fstore1 = 68

JVM opcode fstore_1 (0x44).

§

Fstore2 = 69

JVM opcode fstore_2 (0x45).

§

Fstore3 = 70

JVM opcode fstore_3 (0x46).

§

Dstore0 = 71

JVM opcode dstore_0 (0x47).

§

Dstore1 = 72

JVM opcode dstore_1 (0x48).

§

Dstore2 = 73

JVM opcode dstore_2 (0x49).

§

Dstore3 = 74

JVM opcode dstore_3 (0x4a).

§

Astore0 = 75

JVM opcode astore_0 (0x4b).

§

Astore1 = 76

JVM opcode astore_1 (0x4c).

§

Astore2 = 77

JVM opcode astore_2 (0x4d).

§

Astore3 = 78

JVM opcode astore_3 (0x4e).

§

Iastore = 79

JVM opcode iastore (0x4f).

§

Lastore = 80

JVM opcode lastore (0x50).

§

Fastore = 81

JVM opcode fastore (0x51).

§

Dastore = 82

JVM opcode dastore (0x52).

§

Aastore = 83

JVM opcode aastore (0x53).

§

Bastore = 84

JVM opcode bastore (0x54).

§

Castore = 85

JVM opcode castore (0x55).

§

Sastore = 86

JVM opcode sastore (0x56).

§

Pop = 87

JVM opcode pop (0x57).

§

Pop2 = 88

JVM opcode pop2 (0x58).

§

Dup = 89

JVM opcode dup (0x59).

§

DupX1 = 90

JVM opcode dup_x1 (0x5a).

§

DupX2 = 91

JVM opcode dup_x2 (0x5b).

§

Dup2 = 92

JVM opcode dup2 (0x5c).

§

Dup2X1 = 93

JVM opcode dup2_x1 (0x5d).

§

Dup2X2 = 94

JVM opcode dup2_x2 (0x5e).

§

Swap = 95

JVM opcode swap (0x5f).

§

Iadd = 96

JVM opcode iadd (0x60).

§

Ladd = 97

JVM opcode ladd (0x61).

§

Fadd = 98

JVM opcode fadd (0x62).

§

Dadd = 99

JVM opcode dadd (0x63).

§

Isub = 100

JVM opcode isub (0x64).

§

Lsub = 101

JVM opcode lsub (0x65).

§

Fsub = 102

JVM opcode fsub (0x66).

§

Dsub = 103

JVM opcode dsub (0x67).

§

Imul = 104

JVM opcode imul (0x68).

§

Lmul = 105

JVM opcode lmul (0x69).

§

Fmul = 106

JVM opcode fmul (0x6a).

§

Dmul = 107

JVM opcode dmul (0x6b).

§

Idiv = 108

JVM opcode idiv (0x6c).

§

Ldiv = 109

JVM opcode ldiv (0x6d).

§

Fdiv = 110

JVM opcode fdiv (0x6e).

§

Ddiv = 111

JVM opcode ddiv (0x6f).

§

Irem = 112

JVM opcode irem (0x70).

§

Lrem = 113

JVM opcode lrem (0x71).

§

Frem = 114

JVM opcode frem (0x72).

§

Drem = 115

JVM opcode drem (0x73).

§

Ineg = 116

JVM opcode ineg (0x74).

§

Lneg = 117

JVM opcode lneg (0x75).

§

Fneg = 118

JVM opcode fneg (0x76).

§

Dneg = 119

JVM opcode dneg (0x77).

§

Ishl = 120

JVM opcode ishl (0x78).

§

Lshl = 121

JVM opcode lshl (0x79).

§

Ishr = 122

JVM opcode ishr (0x7a).

§

Lshr = 123

JVM opcode lshr (0x7b).

§

Iushr = 124

JVM opcode iushr (0x7c).

§

Lushr = 125

JVM opcode lushr (0x7d).

§

Iand = 126

JVM opcode iand (0x7e).

§

Land = 127

JVM opcode land (0x7f).

§

Ior = 128

JVM opcode ior (0x80).

§

Lor = 129

JVM opcode lor (0x81).

§

Ixor = 130

JVM opcode ixor (0x82).

§

Lxor = 131

JVM opcode lxor (0x83).

§

Iinc = 132

JVM opcode iinc (0x84).

§

I2l = 133

JVM opcode i2l (0x85).

§

I2f = 134

JVM opcode i2f (0x86).

§

I2d = 135

JVM opcode i2d (0x87).

§

L2i = 136

JVM opcode l2i (0x88).

§

L2f = 137

JVM opcode l2f (0x89).

§

L2d = 138

JVM opcode l2d (0x8a).

§

F2i = 139

JVM opcode f2i (0x8b).

§

F2l = 140

JVM opcode f2l (0x8c).

§

F2d = 141

JVM opcode f2d (0x8d).

§

D2i = 142

JVM opcode d2i (0x8e).

§

D2l = 143

JVM opcode d2l (0x8f).

§

D2f = 144

JVM opcode d2f (0x90).

§

I2b = 145

JVM opcode i2b (0x91).

§

I2c = 146

JVM opcode i2c (0x92).

§

I2s = 147

JVM opcode i2s (0x93).

§

Lcmp = 148

JVM opcode lcmp (0x94).

§

Fcmpl = 149

JVM opcode fcmpl (0x95).

§

Fcmpg = 150

JVM opcode fcmpg (0x96).

§

Dcmpl = 151

JVM opcode dcmpl (0x97).

§

Dcmpg = 152

JVM opcode dcmpg (0x98).

§

Ifeq = 153

JVM opcode ifeq (0x99).

§

Ifne = 154

JVM opcode ifne (0x9a).

§

Iflt = 155

JVM opcode iflt (0x9b).

§

Ifge = 156

JVM opcode ifge (0x9c).

§

Ifgt = 157

JVM opcode ifgt (0x9d).

§

Ifle = 158

JVM opcode ifle (0x9e).

§

IfIcmpeq = 159

JVM opcode if_icmpeq (0x9f).

§

IfIcmpne = 160

JVM opcode if_icmpne (0xa0).

§

IfIcmplt = 161

JVM opcode if_icmplt (0xa1).

§

IfIcmpge = 162

JVM opcode if_icmpge (0xa2).

§

IfIcmpgt = 163

JVM opcode if_icmpgt (0xa3).

§

IfIcmple = 164

JVM opcode if_icmple (0xa4).

§

IfAcmpeq = 165

JVM opcode if_acmpeq (0xa5).

§

IfAcmpne = 166

JVM opcode if_acmpne (0xa6).

§

Goto = 167

JVM opcode goto (0xa7).

§

Jsr = 168

JVM opcode jsr (0xa8).

§

Ret = 169

JVM opcode ret (0xa9).

§

Tableswitch = 170

JVM opcode tableswitch (0xaa).

§

Lookupswitch = 171

JVM opcode lookupswitch (0xab).

§

Ireturn = 172

JVM opcode ireturn (0xac).

§

Lreturn = 173

JVM opcode lreturn (0xad).

§

Freturn = 174

JVM opcode freturn (0xae).

§

Dreturn = 175

JVM opcode dreturn (0xaf).

§

Areturn = 176

JVM opcode areturn (0xb0).

§

Return = 177

JVM opcode return (0xb1).

§

Getstatic = 178

JVM opcode getstatic (0xb2).

§

Putstatic = 179

JVM opcode putstatic (0xb3).

§

Getfield = 180

JVM opcode getfield (0xb4).

§

Putfield = 181

JVM opcode putfield (0xb5).

§

Invokevirtual = 182

JVM opcode invokevirtual (0xb6).

§

Invokespecial = 183

JVM opcode invokespecial (0xb7).

§

Invokestatic = 184

JVM opcode invokestatic (0xb8).

§

Invokeinterface = 185

JVM opcode invokeinterface (0xb9).

§

Invokedynamic = 186

JVM opcode invokedynamic (0xba).

§

New = 187

JVM opcode new (0xbb).

§

Newarray = 188

JVM opcode newarray (0xbc).

§

Anewarray = 189

JVM opcode anewarray (0xbd).

§

Arraylength = 190

JVM opcode arraylength (0xbe).

§

Athrow = 191

JVM opcode athrow (0xbf).

§

Checkcast = 192

JVM opcode checkcast (0xc0).

§

Instanceof = 193

JVM opcode instanceof (0xc1).

§

Monitorenter = 194

JVM opcode monitorenter (0xc2).

§

Monitorexit = 195

JVM opcode monitorexit (0xc3).

§

Wide = 196

JVM opcode wide (0xc4).

§

Multianewarray = 197

JVM opcode multianewarray (0xc5).

§

Ifnull = 198

JVM opcode ifnull (0xc6).

§

Ifnonnull = 199

JVM opcode ifnonnull (0xc7).

§

GotoW = 200

JVM opcode goto_w (0xc8).

§

JsrW = 201

JVM opcode jsr_w (0xc9).

§

Breakpoint = 202

JVM opcode breakpoint (0xca).

§

ReservedCB = 203

JVM opcode reserved_cb (0xcb).

§

ReservedCC = 204

JVM opcode reserved_cc (0xcc).

§

ReservedCD = 205

JVM opcode reserved_cd (0xcd).

§

ReservedCE = 206

JVM opcode reserved_ce (0xce).

§

ReservedCF = 207

JVM opcode reserved_cf (0xcf).

§

ReservedD0 = 208

JVM opcode reserved_d0 (0xd0).

§

ReservedD1 = 209

JVM opcode reserved_d1 (0xd1).

§

ReservedD2 = 210

JVM opcode reserved_d2 (0xd2).

§

ReservedD3 = 211

JVM opcode reserved_d3 (0xd3).

§

ReservedD4 = 212

JVM opcode reserved_d4 (0xd4).

§

ReservedD5 = 213

JVM opcode reserved_d5 (0xd5).

§

ReservedD6 = 214

JVM opcode reserved_d6 (0xd6).

§

ReservedD7 = 215

JVM opcode reserved_d7 (0xd7).

§

ReservedD8 = 216

JVM opcode reserved_d8 (0xd8).

§

ReservedD9 = 217

JVM opcode reserved_d9 (0xd9).

§

ReservedDA = 218

JVM opcode reserved_da (0xda).

§

ReservedDB = 219

JVM opcode reserved_db (0xdb).

§

ReservedDC = 220

JVM opcode reserved_dc (0xdc).

§

ReservedDD = 221

JVM opcode reserved_dd (0xdd).

§

ReservedDE = 222

JVM opcode reserved_de (0xde).

§

ReservedDF = 223

JVM opcode reserved_df (0xdf).

§

ReservedE0 = 224

JVM opcode reserved_e0 (0xe0).

§

ReservedE1 = 225

JVM opcode reserved_e1 (0xe1).

§

ReservedE2 = 226

JVM opcode reserved_e2 (0xe2).

§

ReservedE3 = 227

JVM opcode reserved_e3 (0xe3).

§

ReservedE4 = 228

JVM opcode reserved_e4 (0xe4).

§

ReservedE5 = 229

JVM opcode reserved_e5 (0xe5).

§

ReservedE6 = 230

JVM opcode reserved_e6 (0xe6).

§

ReservedE7 = 231

JVM opcode reserved_e7 (0xe7).

§

ReservedE8 = 232

JVM opcode reserved_e8 (0xe8).

§

ReservedE9 = 233

JVM opcode reserved_e9 (0xe9).

§

ReservedEA = 234

JVM opcode reserved_ea (0xea).

§

ReservedEB = 235

JVM opcode reserved_eb (0xeb).

§

ReservedEC = 236

JVM opcode reserved_ec (0xec).

§

ReservedED = 237

JVM opcode reserved_ed (0xed).

§

ReservedEE = 238

JVM opcode reserved_ee (0xee).

§

ReservedEF = 239

JVM opcode reserved_ef (0xef).

§

ReservedF0 = 240

JVM opcode reserved_f0 (0xf0).

§

ReservedF1 = 241

JVM opcode reserved_f1 (0xf1).

§

ReservedF2 = 242

JVM opcode reserved_f2 (0xf2).

§

ReservedF3 = 243

JVM opcode reserved_f3 (0xf3).

§

ReservedF4 = 244

JVM opcode reserved_f4 (0xf4).

§

ReservedF5 = 245

JVM opcode reserved_f5 (0xf5).

§

ReservedF6 = 246

JVM opcode reserved_f6 (0xf6).

§

ReservedF7 = 247

JVM opcode reserved_f7 (0xf7).

§

ReservedF8 = 248

JVM opcode reserved_f8 (0xf8).

§

ReservedF9 = 249

JVM opcode reserved_f9 (0xf9).

§

ReservedFA = 250

JVM opcode reserved_fa (0xfa).

§

ReservedFB = 251

JVM opcode reserved_fb (0xfb).

§

ReservedFC = 252

JVM opcode reserved_fc (0xfc).

§

ReservedFD = 253

JVM opcode reserved_fd (0xfd).

§

Impdep1 = 254

JVM opcode impdep1 (0xfe).

§

Impdep2 = 255

JVM opcode impdep2 (0xff).

Implementations§

Source§

impl Opcode

Source

pub const fn from_byte(byte: u8) -> Self

Returns the identity for byte, including reserved identities.

Source

pub const fn metadata(self) -> &'static OpcodeMetadata

Returns this opcode’s generated metadata.

Trait Implementations§

Source§

impl Clone for Opcode

Source§

fn clone(&self) -> Opcode

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for Opcode

Source§

impl Debug for Opcode

Source§

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

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

impl Eq for Opcode

Source§

impl Hash for Opcode

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for Opcode

Source§

fn cmp(&self, other: &Opcode) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 (const: unstable) · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 (const: unstable) · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Opcode

Source§

fn eq(&self, other: &Opcode) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl PartialOrd for Opcode

Source§

fn partial_cmp(&self, other: &Opcode) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl StructuralPartialEq for Opcode

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.