core::arch::wasm32::i32x4_replace_lane - Rust
Description: API documentation for the Rust `i32x4_replace_lane` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, i32x4_replace_lane

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

    pub unsafe fn i32x4_replace_lane(a: v128, imm: usize, val: i32) -> 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 4 packed i32 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 4.