pub struct GPRKind { /* private fields */ }
Expand description
Represents the kind of a general purpose register.
Implementations§
Source§impl GPRKind
impl GPRKind
Sourcepub const Bit8: Self
pub const Bit8: Self
Represents AL, CL, DL, BL, SPL, BPL, SIL, DIL, R8B, R9B, R10B, R11B, R12B, R13B, R14B and R15B registers.
Sourcepub const Bit16: Self
pub const Bit16: Self
Represents AX, CX, DX, BX, SP, BP, SI, DI, R8W, R9W, R10W, R11W, R12W, R13W, R14W and R15W registers.
Sourcepub const Bit32: Self
pub const Bit32: Self
Represents EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI, R8D, R9D, R10D, R11D, R12D, R13D, R14D and R15D registers.
Sourcepub const Bit64: Self
pub const Bit64: Self
Represents RAX, RCX, RDX, RBX, RSP, RBP, RSI, RDI, R8, R9, R10, R11, R12, R13, R14 and R15 registers.
pub const fn size(self) -> Size
pub const fn equals(self, other: Self) -> bool
Trait Implementations§
impl Copy for GPRKind
impl Eq for GPRKind
impl StructuralPartialEq for GPRKind
Auto Trait Implementations§
impl Freeze for GPRKind
impl RefUnwindSafe for GPRKind
impl Send for GPRKind
impl Sync for GPRKind
impl Unpin for GPRKind
impl UnwindSafe for GPRKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more