#[repr(C)]
pub enum Register {
Show 52 variants RIP, RFLAGS, RAX, RCX, RDX, RBX, RSI, RDI, RSP, RBP, R8, R9, R10, R11, R12, R13, R14, R15, CS, SS, DS, ES, FS, GS, IDT_BASE, IDT_LIMIT, GDT_BASE, GDT_LIMIT, LDTR, LDT_BASE, LDT_LIMIT, LDT_AR, TR, TSS_BASE, TSS_LIMIT, TSS_AR, CR0, CR1, CR2, CR3, CR4, DR0, DR1, DR2, DR3, DR4, DR5, DR6, DR7, TPR, XCR0, REGISTERS_MAX,
}
Expand description

x86 architectural register

Variants

RIP

RFLAGS

RAX

RCX

RDX

RBX

RSI

RDI

RSP

RBP

R8

R9

R10

R11

R12

R13

R14

R15

CS

SS

DS

ES

FS

GS

IDT_BASE

IDT_LIMIT

GDT_BASE

GDT_LIMIT

LDTR

LDT_BASE

LDT_LIMIT

LDT_AR

TR

TSS_BASE

TSS_LIMIT

TSS_AR

CR0

CR1

CR2

CR3

CR4

DR0

DR1

DR2

DR3

DR4

DR5

DR6

DR7

TPR

XCR0

REGISTERS_MAX

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.