pub trait SimdElement {
    type SimdMaskType: SimdMask;
}
Expand description

This trait should be implemented by scalar types, vectors of which are supported by SIMD intrinsics. For instance, i16 and f32 can implement this trait, as well as #[repr(transparent)] wrappers of these, but not hand-built numeric types.

Required Associated Types§

source

type SimdMaskType: SimdMask

The corresponding mask type for this element type: this is usually the unsigned integer type with the same size.

Implementations on Foreign Types§

source§

impl SimdElement for f64

source§

impl SimdElement for u16

source§

impl SimdElement for u64

source§

impl SimdElement for i16

source§

impl SimdElement for u8

source§

impl<T: SimdElement> SimdElement for Wrapping<T>

source§

impl SimdElement for i64

source§

impl SimdElement for f32

source§

impl SimdElement for i32

source§

impl SimdElement for i8

source§

impl SimdElement for u32

Implementors§