pub struct PhysReg(/* private fields */);Expand description
One physical register, as its number inside its class.
The class is not in here. An operand carries its class already, and a fixed-register constraint is a constraint on an operand, so repeating the class would be a second copy of something that can disagree with the first.
Implementations§
Trait Implementations§
impl Copy for PhysReg
impl Eq for PhysReg
Source§impl Ord for PhysReg
impl Ord for PhysReg
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 PhysReg
impl PartialOrd for PhysReg
impl StructuralPartialEq for PhysReg
Auto Trait Implementations§
impl Freeze for PhysReg
impl RefUnwindSafe for PhysReg
impl Send for PhysReg
impl Sync for PhysReg
impl Unpin for PhysReg
impl UnsafeUnpin for PhysReg
impl UnwindSafe for PhysReg
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