[−][src]Function slipstream::vectorize
pub fn vectorize<V, A>(a: A) -> impl Iterator<Item = V> where
A: Vectorizable<V>,
Free-standing version of Vectorizable::vectorize
.
This is the same as a.vectorize()
. Nevertheless, this version might be more convenient as it
allows hinting the result vector type with turbofish.
let data = [1, 2, 3, 4]; for v in slipstream::vectorize::<u32x2, _>(&data[..]) { println!("{:?}", v); }