[][src]Struct wast::MemArg

pub struct MemArg {
    pub align: u32,
    pub offset: u32,
}

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.

Trait Implementations

impl Debug for MemArg[src]

Auto Trait Implementations

impl RefUnwindSafe for MemArg

impl Send for MemArg

impl Sync for MemArg

impl Unpin for MemArg

impl UnwindSafe for MemArg

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.