Enum wast::V128Const[][src]

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

Different ways to specify a v128.const instruction

Variants

I8x16([i8; 16])

Tuple Fields of I8x16

0: [i8; 16]
I16x8([i16; 8])

Tuple Fields of I16x8

0: [i16; 8]
I32x4([i32; 4])

Tuple Fields of I32x4

0: [i32; 4]
I64x2([i64; 2])

Tuple Fields of I64x2

0: [i64; 2]

Tuple Fields of F32x4

0: [Float32; 4]

Tuple Fields of F64x2

0: [Float64; 2]

Implementations

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

Formats the value using the given formatter. Read more

Attempts to parse Self from parser, returning an error if it could not be parsed. 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.