pub fn insert_i32_imm_m128i<const IMM: i32>(a: m128i, new: i32) -> m128i
Available with target feature sse4.1 only.
Expand description

Inserts a new value for the i32 lane specified.

let a = m128i::from([5, 6, 7, 8]);
let b: [i32; 4] = insert_i32_imm_m128i::<1>(a, 23).into();
assert_eq!(b, [5, 23, 7, 8]);