u32x4_replace_lane in core::arch::wasm32 - Rust
Description: Replaces a lane from a 128-bit vector interpreted as 4 packed u32 numbers.
Keywords: rust, rustlang, rust-lang, u32x4_replace_lane

# Function core::arch::wasm32::u32x4_replace_lane

1.54.0 · source · [−]

    pub fn u32x4_replace_lane<const N: usize>(a: v128, val: u32) -> v128

Available on WebAssembly and target feature `simd128` only.
Expand description

Replaces a lane from a 128-bit vector interpreted as 4 packed u32 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.