# [−][src]Function core::arch::wasm32::i8x16_replace_lane

    pub unsafe fn i8x16_replace_lane(a: v128, imm: usize, val: i8) -> v128

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on WebAssembly only.

Replaces a lane from a 128-bit vector interpreted as 16 packed i8 numbers.

Replaces the scalar value of lane specified in the immediate mode operand `imm` with `a`.

# Unsafety

This function has undefined behavior if `imm` is greater than or equal to 16.