Type Definition simd_aligned::i16x2

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

A 32-bit SIMD vector with two elements of type i16.

Trait Implementations§

source§

impl Simd for i16x2

§

type Element = i16

Element type of the SIMD vector
§

type LanesType = [i16; 2]

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

const LANES: usize = 2usize

The number of elements in the SIMD vector.
source§

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

Added for convenience
source§

impl SimdExt for i16x2

§

type T = i16

source§

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