Skip to main content

AvxArrayMut

Trait AvxArrayMut 

Source
pub trait AvxArrayMut<T: AvxNum>: AvxArray<T> + DerefMut {
    // Required methods
    unsafe fn store_complex(&mut self, data: T::VectorType, index: usize);
    unsafe fn store_partial1_complex(
        &mut self,
        data: <T::VectorType as AvxVector256>::HalfVector,
        index: usize,
    );
    unsafe fn store_partial2_complex(
        &mut self,
        data: <T::VectorType as AvxVector256>::HalfVector,
        index: usize,
    );
    unsafe fn store_partial3_complex(
        &mut self,
        data: T::VectorType,
        index: usize,
    );
}

Required Methods§

Source

unsafe fn store_complex(&mut self, data: T::VectorType, index: usize)

Source

unsafe fn store_partial1_complex( &mut self, data: <T::VectorType as AvxVector256>::HalfVector, index: usize, )

Source

unsafe fn store_partial2_complex( &mut self, data: <T::VectorType as AvxVector256>::HalfVector, index: usize, )

Source

unsafe fn store_partial3_complex(&mut self, data: T::VectorType, index: usize)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: AvxNum> AvxArrayMut<T> for &mut [Complex<T>]

Source§

unsafe fn store_complex(&mut self, data: T::VectorType, index: usize)

Source§

unsafe fn store_partial1_complex( &mut self, data: <T::VectorType as AvxVector256>::HalfVector, index: usize, )

Source§

unsafe fn store_partial2_complex( &mut self, data: <T::VectorType as AvxVector256>::HalfVector, index: usize, )

Source§

unsafe fn store_partial3_complex(&mut self, data: T::VectorType, index: usize)

Implementors§

Source§

impl<'a, T: AvxNum> AvxArrayMut<T> for DoubleBuf<'a, T>
where Self: AvxArray<T>, &'a mut [Complex<T>]: AvxArrayMut<T>,