#[repr(usize)]pub enum Gp {
Show 16 variants
RAX = 0,
RCX = 1,
RDX = 2,
RBX = 3,
RSP = 4,
RBP = 5,
RSI = 6,
RDI = 7,
R8 = 8,
R9 = 9,
R10 = 10,
R11 = 11,
R12 = 12,
R13 = 13,
R14 = 14,
R15 = 15,
}Expand description
A general-purpose register. These are in the order defined by the x86-64 architecture.
Variants§
RAX = 0
RCX = 1
RDX = 2
RBX = 3
RSP = 4
RBP = 5
RSI = 6
RDI = 7
R8 = 8
R9 = 9
R10 = 10
R11 = 11
R12 = 12
R13 = 13
R14 = 14
R15 = 15
Trait Implementations§
Source§impl From<Gp> for RegisterIndex
impl From<Gp> for RegisterIndex
impl Copy for Gp
impl StructuralPartialEq for Gp
Auto Trait Implementations§
impl Freeze for Gp
impl RefUnwindSafe for Gp
impl Send for Gp
impl Sync for Gp
impl Unpin for Gp
impl UnsafeUnpin for Gp
impl UnwindSafe for Gp
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