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
sourceimpl V128Const
 
impl V128Const
sourcepub fn to_le_bytes(&self) -> [u8; 16]
 
pub fn to_le_bytes(&self) -> [u8; 16]
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
Auto Trait Implementations
impl RefUnwindSafe for V128Const
impl Send for V128Const
impl Sync for V128Const
impl Unpin for V128Const
impl UnwindSafe for V128Const
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
 
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more