#[repr(transparent)]pub struct RegId(pub RegIdInt);
Expand description
Represents an register id, which is architecture-specific.
To translate to a human-readable name, see Capstone::reg_name()
.
Tuple Fields§
§0: RegIdInt
Implementations§
source§impl RegId
impl RegId
sourcepub const INVALID_REG: Self = _
pub const INVALID_REG: Self = _
Invalid Register
Trait Implementations§
source§impl Ord for RegId
impl Ord for RegId
source§impl PartialEq for RegId
impl PartialEq for RegId
source§impl PartialOrd for RegId
impl PartialOrd for RegId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RegId
impl Eq for RegId
impl StructuralPartialEq for RegId
Auto Trait Implementations§
impl RefUnwindSafe for RegId
impl Send for RegId
impl Sync for RegId
impl Unpin for RegId
impl UnwindSafe for RegId
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