Trait faster::iters::IntoScalar [] [src]

pub trait IntoScalar<T> where
    T: Packable
{ type Scalar: Packable; type Vector: Packed<Scalar = Self::Scalar>; fn scalar_collect(&mut self) -> Vec<T>;
fn scalar_fill<'a>(&mut self, fill: &'a mut [T]) -> &'a mut [T]; }

A trait which can transform a stream of vectors into a contiguous collection of scalars.

Associated Types

Required Methods

Important traits for Vec<u8>

Take an iterator of SIMD vectors, store them in-order in a Vec, and return the vec.

Important traits for &'a mut [u8]

Take an iterator of SIMD vectors and store them in-order in fill.

Implementors