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])

I16x8([i16; 8])

I32x4([i32; 4])

I64x2([i64; 2])

F32x4([Float32; 4])

F64x2([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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.