pub struct AddrO32 {
pub addr: XReg,
pub offset: i32,
}
Expand description
Immediate used for the “o32” addresing mode.
This addressing mode represents a host address stored in self.addr
which
is byte-offset by self.offset
.
This addressing mode cannot generate a trap.
Fields§
§addr: XReg
The base address of memory.
offset: i32
A byte offset from addr
.
Trait Implementations§
Source§impl Ord for AddrO32
impl Ord for AddrO32
Source§impl PartialOrd for AddrO32
impl PartialOrd for AddrO32
impl Copy for AddrO32
impl Eq for AddrO32
impl StructuralPartialEq for AddrO32
Auto Trait Implementations§
impl Freeze for AddrO32
impl RefUnwindSafe for AddrO32
impl Send for AddrO32
impl Sync for AddrO32
impl Unpin for AddrO32
impl UnwindSafe for AddrO32
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