pub struct Imm32(/* private fields */);
Expand description
A 32-bit immediate operand.
Note that, “in 64-bit mode, the typical size of immediate operands remains 32 bits. When the operand size is 64 bits, the processor sign-extends all immediates to 64 bits prior to their use” (Intel SDM Vol. 2, 2.2.1.5).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Imm32
impl RefUnwindSafe for Imm32
impl Send for Imm32
impl Sync for Imm32
impl Unpin for Imm32
impl UnwindSafe for Imm32
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