Struct wast::MemArg[][src]

pub struct MemArg<'a> {
    pub align: u32,
    pub offset: u32,
    pub memory: ItemRef<'a, memory>,
}
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: u32

The offset, in bytes of this access.

memory: ItemRef<'a, memory>

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

Performs the conversion.

Performs the conversion.

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.