[][src]Enum wast::V128Const

pub enum V128Const {
    I8x16([i8; 16]),
    I16x8([i16; 8]),
    I32x4([i32; 4]),
    I64x2([i64; 2]),
    F32x4([Float32; 4]),
    F64x2([Float64; 2]),
}

Different ways to specify a v128.const instruction

Variants

I8x16([i8; 16])
I16x8([i16; 8])
I32x4([i32; 4])
I64x2([i64; 2])

Methods

impl V128Const[src]

pub fn to_le_bytes(&self) -> [u8; 16][src]

Returns the raw little-ended byte sequence used to represent this v128 constant`

This is typically suitable for encoding as the payload of the v128.const instruction.

Trait Implementations

impl<'a> Parse<'a> for V128Const[src]

impl Debug for V128Const[src]

Auto Trait Implementations

Blanket Implementations

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

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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