[][src]Enum walrus::ir::StoreKind

pub enum StoreKind {
    I32 {
        atomic: bool,
    },
    I64 {
        atomic: bool,
    },
    F32,
    F64,
    V128,
    I32_8 {
        atomic: bool,
    },
    I32_16 {
        atomic: bool,
    },
    I64_8 {
        atomic: bool,
    },
    I64_16 {
        atomic: bool,
    },
    I64_32 {
        atomic: bool,
    },
}

The different kinds of store instructions that are part of a Store IR node

Variants

I32

Fields of I32

atomic: bool
I64

Fields of I64

atomic: bool
F32
F64
V128
I32_8

Fields of I32_8

atomic: bool
I32_16

Fields of I32_16

atomic: bool
I64_8

Fields of I64_8

atomic: bool
I64_16

Fields of I64_16

atomic: bool
I64_32

Fields of I64_32

atomic: bool

Implementations

impl StoreKind[src]

pub fn width(&self) -> u32[src]

Returns the number of bytes stored

pub fn atomic(&self) -> bool[src]

Returns whether this is an atomic store

Trait Implementations

impl Clone for StoreKind[src]

impl Copy for StoreKind[src]

impl Debug for StoreKind[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.