pub struct MemArg<'a> {
pub align: u32,
pub offset: u64,
pub memory: Index<'a>,
}Expand description
Payload for memory-related instructions indicating offset/alignment of memory accesses.
Fields§
§align: u32The alignment of this access.
This is not stored as a log, this is the actual alignment (e.g. 1, 2, 4, 8, etc).
offset: u64The offset, in bytes of this access.
memory: Index<'a>The memory index we’re accessing
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MemArg<'a>
impl<'a> RefUnwindSafe for MemArg<'a>
impl<'a> Send for MemArg<'a>
impl<'a> Sync for MemArg<'a>
impl<'a> Unpin for MemArg<'a>
impl<'a> UnwindSafe for MemArg<'a>
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