Type Definition simd_aligned::u16x4

source ·
pub type u16x4 = Simd<u16, 4>;
🔬This is a nightly-only experimental API. (portable_simd)
Expand description

A 64-bit SIMD vector with four elements of type u16.

Trait Implementations§

source§

impl Simd for u16x4

§

type Element = u16

Element type of the SIMD vector
§

type LanesType = [u16; 4]

The type: [u32; Self::N].
source§

const LANES: usize = 4usize

The number of elements in the SIMD vector.
source§

fn splat(t: Self::Element) -> Self

Added for convenience
source§

impl SimdExt for u16x4

§

type T = u16

source§

fn sum(&self) -> Self::T