i16x8_replace_lane in core::arch::wasm64 - Rust
Description: Replaces a lane from a 128-bit vector interpreted as 8 packed i16 numbers.

Skip to main content

## i16x8_replace_lane

# Function i16x8_replace_lane

Source

    pub fn i16x8_replace_lane<const N: usize>(a: v128, val: i16) -> v128

🔬This is a nightly-only experimental API. (`simd_wasm64` #90599)
Available on `target_family=wasm` and WebAssembly and target feature `simd128` only.
Expand description

Replaces a lane from a 128-bit vector interpreted as 8 packed i16 numbers.

Replaces the scalar value of lane specified in the immediate mode operand `N` from `a`. If `N` is out of bounds then it is a compile time error.