[][src]Struct walrus::ir::MemArg

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

Arguments to memory operations, containing a constant offset from a dynamic address as well as a predicted alignment.

Fields

align: u32

The alignment of the memory operation, must be a power of two

offset: u32

The offset of the memory operation, in bytes from the source address

Trait Implementations

impl Clone for MemArg[src]

impl Copy for MemArg[src]

impl Debug for MemArg[src]

Auto Trait Implementations

impl Sync for MemArg

impl Send for MemArg

impl Unpin for MemArg

impl UnwindSafe for MemArg

impl RefUnwindSafe for MemArg

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for 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.

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

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

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