Trait simdeez::SimdConsts

source ·
pub trait SimdConsts: 'static + Copy + Sync + Send + Debug {
    type Scalar: Copy + Debug + Sync + Send;
    type HorizontalAddScalar: Copy + Debug + Sync + Send;
    type ArrayRepresentation: Index<usize, Output = Self::Scalar> + IndexMut<usize> + Clone;
    type UnderlyingType: Copy + Debug + Sync + Send;
    type Engine: Simd;

    const WIDTH: usize;
}

Required Associated Types§

source

type Scalar: Copy + Debug + Sync + Send

source

type HorizontalAddScalar: Copy + Debug + Sync + Send

source

type ArrayRepresentation: Index<usize, Output = Self::Scalar> + IndexMut<usize> + Clone

The type of the transmuted array representation. This is to make indexing operations easier. We are unable to use &[Self::Scalar; Self::WIDTH] because constants are not allowed.

source

type UnderlyingType: Copy + Debug + Sync + Send

The underlying intrinsic SIMD type.

source

type Engine: Simd

Required Associated Constants§

Implementors§