RegisterId

Enum RegisterId 

Source
#[repr(i32)]
pub enum RegisterId {
Show 125 variants rax = 0, rdx = 1, rcx = 2, rbx = 3, rsi = 4, rdi = 5, rbp = 6, rsp = 7, r8 = 8, r9 = 9, r10 = 10, r11 = 11, r12 = 12, r13 = 13, r14 = 14, r15 = 15, rip = 16, eflags = 17, cs = 18, fs = 19, gs = 20, ss = 21, ds = 22, es = 23, orig_rax = 24, eax = 25, edx = 26, ecx = 27, ebx = 28, esi = 29, edi = 30, ebp = 31, esp = 32, r8d = 33, r9d = 34, r10d = 35, r11d = 36, r12d = 37, r13d = 38, r14d = 39, r15d = 40, ax = 41, dx = 42, cx = 43, bx = 44, si = 45, di = 46, bp = 47, sp = 48, r8w = 49, r9w = 50, r10w = 51, r11w = 52, r12w = 53, r13w = 54, r14w = 55, r15w = 56, ah = 57, dh = 58, ch = 59, bh = 60, al = 61, dl = 62, cl = 63, bl = 64, sil = 65, dil = 66, bpl = 67, spl = 68, r8b = 69, r9b = 70, r10b = 71, r11b = 72, r12b = 73, r13b = 74, r14b = 75, r15b = 76, fcw = 77, fsw = 78, ftw = 79, fop = 80, frip = 81, frdp = 82, mxcsr = 83, mxcsrmask = 84, st0 = 85, st1 = 86, st2 = 87, st3 = 88, st4 = 89, st5 = 90, st6 = 91, st7 = 92, mm0 = 93, mm1 = 94, mm2 = 95, mm3 = 96, mm4 = 97, mm5 = 98, mm6 = 99, mm7 = 100, xmm0 = 101, xmm1 = 102, xmm2 = 103, xmm3 = 104, xmm4 = 105, xmm5 = 106, xmm6 = 107, xmm7 = 108, xmm8 = 109, xmm9 = 110, xmm10 = 111, xmm11 = 112, xmm12 = 113, xmm13 = 114, xmm14 = 115, xmm15 = 116, dr0 = 117, dr1 = 118, dr2 = 119, dr3 = 120, dr4 = 121, dr5 = 122, dr6 = 123, dr7 = 124,
}

Variants§

§

rax = 0

§

rdx = 1

§

rcx = 2

§

rbx = 3

§

rsi = 4

§

rdi = 5

§

rbp = 6

§

rsp = 7

§

r8 = 8

§

r9 = 9

§

r10 = 10

§

r11 = 11

§

r12 = 12

§

r13 = 13

§

r14 = 14

§

r15 = 15

§

rip = 16

§

eflags = 17

§

cs = 18

§

fs = 19

§

gs = 20

§

ss = 21

§

ds = 22

§

es = 23

§

orig_rax = 24

§

eax = 25

§

edx = 26

§

ecx = 27

§

ebx = 28

§

esi = 29

§

edi = 30

§

ebp = 31

§

esp = 32

§

r8d = 33

§

r9d = 34

§

r10d = 35

§

r11d = 36

§

r12d = 37

§

r13d = 38

§

r14d = 39

§

r15d = 40

§

ax = 41

§

dx = 42

§

cx = 43

§

bx = 44

§

si = 45

§

di = 46

§

bp = 47

§

sp = 48

§

r8w = 49

§

r9w = 50

§

r10w = 51

§

r11w = 52

§

r12w = 53

§

r13w = 54

§

r14w = 55

§

r15w = 56

§

ah = 57

§

dh = 58

§

ch = 59

§

bh = 60

§

al = 61

§

dl = 62

§

cl = 63

§

bl = 64

§

sil = 65

§

dil = 66

§

bpl = 67

§

spl = 68

§

r8b = 69

§

r9b = 70

§

r10b = 71

§

r11b = 72

§

r12b = 73

§

r13b = 74

§

r14b = 75

§

r15b = 76

§

fcw = 77

§

fsw = 78

§

ftw = 79

§

fop = 80

§

frip = 81

§

frdp = 82

§

mxcsr = 83

§

mxcsrmask = 84

§

st0 = 85

§

st1 = 86

§

st2 = 87

§

st3 = 88

§

st4 = 89

§

st5 = 90

§

st6 = 91

§

st7 = 92

§

mm0 = 93

§

mm1 = 94

§

mm2 = 95

§

mm3 = 96

§

mm4 = 97

§

mm5 = 98

§

mm6 = 99

§

mm7 = 100

§

xmm0 = 101

§

xmm1 = 102

§

xmm2 = 103

§

xmm3 = 104

§

xmm4 = 105

§

xmm5 = 106

§

xmm6 = 107

§

xmm7 = 108

§

xmm8 = 109

§

xmm9 = 110

§

xmm10 = 111

§

xmm11 = 112

§

xmm12 = 113

§

xmm13 = 114

§

xmm14 = 115

§

xmm15 = 116

§

dr0 = 117

§

dr1 = 118

§

dr2 = 119

§

dr3 = 120

§

dr4 = 121

§

dr5 = 122

§

dr6 = 123

§

dr7 = 124

Trait Implementations§

Source§

impl Clone for RegisterId

Source§

fn clone(&self) -> RegisterId

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 RegisterId

Source§

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

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

impl PartialEq for RegisterId

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<i32> for RegisterId

Source§

type Error = TryFromPrimitiveError<RegisterId>

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

fn try_from(number: i32) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for RegisterId

Source§

impl Copy for RegisterId

Source§

impl Eq for RegisterId

Source§

impl StructuralPartialEq for RegisterId

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<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
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.