Type Definition simd_aligned::i32x2

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

A 64-bit SIMD vector with two elements of type i32.

Trait Implementations§

source§

impl Simd for i32x2

§

type Element = i32

Element type of the SIMD vector
§

type LanesType = [i32; 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 i32x2

§

type T = i32

source§

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