Trait simd::HalfVector [−] [src]

pub unsafe trait HalfVector: Vector {
    type Half;

    fn split(self) -> (Self::Half, Self::Half);

    fn lower(self) -> Self::Half { ... }
    fn upper(self) -> Self::Half { ... }
}

SIMD vectors which can be separated into two SIMD vectors of half the size with the same elements.

Associated Types

type Half

Required Methods

fn split(self) -> (Self::Half, Self::Half)

Retrieve the upper and lower halves of the self vector.

Provided Methods

fn lower(self) -> Self::Half

Retrieve the lower half of the self vector.

fn upper(self) -> Self::Half

Retrieve the upper half of the self vector.

Implementors