pub struct Register {
pub kind: RegisterType,
pub number: u32,
}Expand description
A register: its type and number.
Fields§
§kind: RegisterTypeThe register type.
number: u32The register number, bits 0 to 10 of the operand token.
Trait Implementations§
impl Copy for Register
impl Eq for Register
Source§impl Ord for Register
impl Ord for Register
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Register
impl PartialOrd for Register
impl StructuralPartialEq for Register
Auto Trait Implementations§
impl Forget for Register
impl Freeze for Register
impl RefUnwindSafe for Register
impl Send for Register
impl Sync for Register
impl Unpin for Register
impl UnsafeUnpin for Register
impl UnwindSafe for Register
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