pub struct ArchReg {
pub arch: Arch,
pub reg: u16,
}Expand description
Identifies a register in a specific architecture
Fields§
§arch: ArchTarget architecture
reg: u16The untyped register index
Implementations§
Trait Implementations§
impl Copy for ArchReg
impl Eq for ArchReg
Source§impl Ord for ArchReg
impl Ord for ArchReg
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ArchReg
impl PartialOrd for ArchReg
impl StructuralPartialEq for ArchReg
Auto Trait Implementations§
impl Freeze for ArchReg
impl RefUnwindSafe for ArchReg
impl Send for ArchReg
impl Sync for ArchReg
impl Unpin for ArchReg
impl UnsafeUnpin for ArchReg
impl UnwindSafe for ArchReg
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