pub enum RegIndex {
Show 15 variants
rax = 0,
rcx = 1,
rdx = 2,
rbx = 3,
rbp = 5,
rsi = 6,
rdi = 7,
r8 = 8,
r9 = 9,
r10 = 10,
r11 = 11,
r12 = 12,
r13 = 13,
r14 = 14,
r15 = 15,
}
Variants§
rax = 0
rcx = 1
rdx = 2
rbx = 3
rbp = 5
rsi = 6
rdi = 7
r8 = 8
r9 = 9
r10 = 10
r11 = 11
r12 = 12
r13 = 13
r14 = 14
r15 = 15
Implementations§
Source§impl RegIndex
impl RegIndex
pub const fn into_reg(self) -> Reg
pub const fn name(self) -> &'static str
pub const fn name32(self) -> &'static str
pub const fn name16(self) -> &'static str
pub const fn name8(self) -> &'static str
pub const fn name_from(self, size: RegSize) -> &'static str
pub const fn equals(self, other: Self) -> bool
Trait Implementations§
impl Copy for RegIndex
impl Eq for RegIndex
impl IntoMemOp for RegIndex
impl StructuralPartialEq for RegIndex
Auto Trait Implementations§
impl Freeze for RegIndex
impl RefUnwindSafe for RegIndex
impl Send for RegIndex
impl Sync for RegIndex
impl Unpin for RegIndex
impl UnwindSafe for RegIndex
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