Trait core::core_simd::swizzle::Swizzle2Impl
source · trait Swizzle2Impl<const INPUT_LANES: usize, const OUTPUT_LANES: usize> {
const INDEX_IMPL: [u32; OUTPUT_LANES];
}
🔬This is a nightly-only experimental API. (
portable_simd
#86656)Expand description
The simd_shuffle
intrinsic expects u32
, so do error checking and conversion here.
This trait hides INDEX_IMPL
from the public API.
Required Associated Constants§
sourceconst INDEX_IMPL: [u32; OUTPUT_LANES]
const INDEX_IMPL: [u32; OUTPUT_LANES]
🔬This is a nightly-only experimental API. (
portable_simd
#86656)