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: u32

The alignment of this access.

This is not stored as a log, this is the actual alignment (e.g. 1, 2, 4, 8, etc).

offset: u64

The offset, in bytes of this access.

memory: Index<'a>

The memory index we’re accessing

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.