SIMDElement

Trait SIMDElement 

Source
pub trait SIMDElement<const L: usize>: Sized {
    type SIMD: SIMD<Element = Self, Lane = [Self; L]>;
}
Expand description

Marker trait for SIMD::Elements.

Required Associated Types§

Source

type SIMD: SIMD<Element = Self, Lane = [Self; L]>

The SIMD type that Self is an element of.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SIMDElement<2> for f64

Source§

impl SIMDElement<4> for f32

Source§

impl SIMDElement<4> for f64

Source§

impl SIMDElement<8> for f32

Implementors§