# Function core::arch::x86::_mm256_insert_epi16
1.27.0[−][src]

    pub unsafe fn _mm256_insert_epi16<const INDEX: i32>(
        a: __m256i,
        i: i16
    ) -> __m256i

This is supported on (non-crate feature `miri-test-libstd` or `test` or `doctest`) and x86 and target feature `avx` only.
Expand description

Copies `a` to result, and inserts the 16-bit integer `i` into result at the location specified by `index`.

Intel’s documentation