SimdIndex

Trait SimdIndex 

Source
pub trait SimdIndex<'N, T: ComplexField, S: Simd> {
    // Required methods
    fn read(
        simd: &SimdCtx<'N, T, S>,
        slice: ColRef<'_, T, Dim<'N>, ContiguousFwd>,
        index: Self,
    ) -> T::SimdVec<S>;
    fn write(
        simd: &SimdCtx<'N, T, S>,
        slice: ColMut<'_, T, Dim<'N>, ContiguousFwd>,
        index: Self,
        value: T::SimdVec<S>,
    );
}

Required Methods§

Source

fn read( simd: &SimdCtx<'N, T, S>, slice: ColRef<'_, T, Dim<'N>, ContiguousFwd>, index: Self, ) -> T::SimdVec<S>

Source

fn write( simd: &SimdCtx<'N, T, S>, slice: ColMut<'_, T, Dim<'N>, ContiguousFwd>, index: Self, value: T::SimdVec<S>, )

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.

Implementors§

Source§

impl<'N, T: ComplexField, S: Simd> SimdIndex<'N, T, S> for SimdBody<'N, T, S>

Source§

impl<'N, T: ComplexField, S: Simd> SimdIndex<'N, T, S> for SimdHead<'N, T, S>

Source§

impl<'N, T: ComplexField, S: Simd> SimdIndex<'N, T, S> for SimdTail<'N, T, S>