pub struct NonRspGpr<R: AsReg>(/* private fields */);
Expand description
Like Gpr
, but with %rsp
disallowed.
This is due to avoid special cases of REX encodings, see Intel SDM Vol. 2A, table 2-5.
Implementations§
Trait Implementations§
impl<R: Copy + AsReg> Copy for NonRspGpr<R>
Auto Trait Implementations§
impl<R> Freeze for NonRspGpr<R>where
R: Freeze,
impl<R> RefUnwindSafe for NonRspGpr<R>where
R: RefUnwindSafe,
impl<R> Send for NonRspGpr<R>where
R: Send,
impl<R> Sync for NonRspGpr<R>where
R: Sync,
impl<R> Unpin for NonRspGpr<R>where
R: Unpin,
impl<R> UnwindSafe for NonRspGpr<R>where
R: UnwindSafe,
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