#[non_exhaustive]pub enum X86Register {
Show 85 variants
Al,
Cl,
Dl,
Bl,
Ah,
Ch,
Dh,
Bh,
Spl,
Bpl,
Sil,
Dil,
R8b,
R9b,
R10b,
R11b,
R12b,
R13b,
R14b,
R15b,
Ax,
Cx,
Dx,
Bx,
Sp,
Bp,
Si,
Di,
R8w,
R9w,
R10w,
R11w,
R12w,
R13w,
R14w,
R15w,
Eax,
Ecx,
Edx,
Ebx,
Esp,
Ebp,
Esi,
Edi,
R8d,
R9d,
R10d,
R11d,
R12d,
R13d,
R14d,
R15d,
Rax,
Rcx,
Rdx,
Rbx,
Rsp,
Rbp,
Rsi,
Rdi,
R8,
R9,
R10,
R11,
R12,
R13,
R14,
R15,
Mmx(u8),
Xmm(u8),
Ymm(u8),
Zmm(u8),
Tmm(u8),
Cr(u8),
Dr(u8),
Tr(u8),
Fp(u8),
K(u8),
Es,
Cs,
Ss,
Ds,
Fs,
Gs,
UndefSeg,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Al
Cl
Dl
Bl
Ah
Ch
Dh
Bh
Spl
Bpl
Sil
Dil
R8b
R9b
R10b
R11b
R12b
R13b
R14b
R15b
Ax
Cx
Dx
Bx
Sp
Bp
Si
Di
R8w
R9w
R10w
R11w
R12w
R13w
R14w
R15w
Eax
Ecx
Edx
Ebx
Esp
Ebp
Esi
Edi
R8d
R9d
R10d
R11d
R12d
R13d
R14d
R15d
Rax
Rcx
Rdx
Rbx
Rsp
Rbp
Rsi
Rdi
R8
R9
R10
R11
R12
R13
R14
R15
Mmx(u8)
Xmm(u8)
Ymm(u8)
Zmm(u8)
Tmm(u8)
Cr(u8)
Dr(u8)
Tr(u8)
Fp(u8)
K(u8)
Es
Cs
Ss
Ds
Fs
Gs
UndefSeg
Implementations§
Source§impl X86Register
impl X86Register
pub fn from_class(rclass: X86RegisterClass, rnum: u8) -> Option<X86Register>
pub fn regnum(self) -> u8
pub fn class(&self) -> X86RegisterClass
Trait Implementations§
Source§impl Clone for X86Register
impl Clone for X86Register
Source§fn clone(&self) -> X86Register
fn clone(&self) -> X86Register
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for X86Register
impl Debug for X86Register
Source§impl Display for X86Register
impl Display for X86Register
Source§impl Hash for X86Register
impl Hash for X86Register
Source§impl PartialEq for X86Register
impl PartialEq for X86Register
impl Copy for X86Register
impl Eq for X86Register
impl StructuralPartialEq for X86Register
Auto Trait Implementations§
impl Freeze for X86Register
impl RefUnwindSafe for X86Register
impl Send for X86Register
impl Sync for X86Register
impl Unpin for X86Register
impl UnwindSafe for X86Register
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