Type Definition simd_aligned::u8x4

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

A 32-bit SIMD vector with four elements of type u8.

Trait Implementations§

source§

impl Simd for u8x4

§

type Element = u8

Element type of the SIMD vector
§

type LanesType = [u8; 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 u8x4

§

type T = u8

source§

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