Documentation
1
2
3
4
5
6
7
8
9
10
use core::simd::*;

#[inline(always)]
pub fn splat<T, const N: usize>(x: T) -> Simd<T, N>
where
    T: SimdElement,
    LaneCount<N>: SupportedLaneCount,
{
    Simd::splat(x)
}