# [−][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.

Replace a lane from a 128-bit vector interpreted as 4 packed i32 numbers.

Replace 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

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g., `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g., `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g., `str,u8` or `String,struct:Vec,test`)