Function simd_extract

unsafe const fn simd_extract<T, U>(x: T, idx: u32) -> U

Extracts an element from a vector.

T must be a vector with element type U, and idx must be const.

Safety

idx must be const and in-bounds of the vector.