pub struct RegClass(/* private fields */);Expand description
Which class a register or an operand belongs to.
A number into the file’s classes rather than a name, because it is on every operand of every instruction and it is compared far more often than it is printed.
Implementations§
Trait Implementations§
impl Copy for RegClass
impl Eq for RegClass
Source§impl Ord for RegClass
impl Ord for RegClass
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 RegClass
impl PartialOrd for RegClass
impl StructuralPartialEq for RegClass
Auto Trait Implementations§
impl Freeze for RegClass
impl RefUnwindSafe for RegClass
impl Send for RegClass
impl Sync for RegClass
impl Unpin for RegClass
impl UnsafeUnpin for RegClass
impl UnwindSafe for RegClass
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