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

    pub unsafe fn i64x2_replace_lane(a: v128, imm: usize, val: i64) -> 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 2 packed i64 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 2.