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
fn scalar_collect(&mut self) -> Vec<T>
Take an iterator of SIMD vectors, store them in-order in a Vec, and return the vec.
fn scalar_fill<'a>(&mut self, fill: &'a mut [T]) -> &'a mut [T]
Take an iterator of SIMD vectors and store them in-order in fill
.