[][src]Struct slipstream::iterators::VectorizedIter

pub struct VectorizedIter<V, P, R> { /* fields omitted */ }

The iterator returned by methods on Vectorizable.

While it's unusual to need to name the type, this is the thing that is returned from Vectorizable::vectorize and Vectorizable::vectorize_pad. It might be of interest to know that it implements several iterator „extensions“ (DoubleEndedIterator, ExactSizeIterator and FusedIterator). Also, several methods are optimized ‒ for example, the count is constant time operation, while the generic is linear.

Trait Implementations

impl<V: Clone, P: Clone, R: Clone> Clone for VectorizedIter<V, P, R>[src]

impl<V: Copy, P: Copy, R: Copy> Copy for VectorizedIter<V, P, R>[src]

impl<V: Debug, P: Debug, R: Debug> Debug for VectorizedIter<V, P, R>[src]

impl<V, P, R> DoubleEndedIterator for VectorizedIter<V, P, R> where
    V: Vectorizer<R>,
    P: Partial<R>, 
[src]

impl<V, P, R> ExactSizeIterator for VectorizedIter<V, P, R> where
    V: Vectorizer<R>,
    P: Partial<R>, 
[src]

impl<V, P, R> FusedIterator for VectorizedIter<V, P, R> where
    V: Vectorizer<R>,
    P: Partial<R>, 
[src]

impl<V, P, R> Iterator for VectorizedIter<V, P, R> where
    V: Vectorizer<R>,
    P: Partial<R>, 
[src]

type Item = R

The type of the elements being iterated over.

Auto Trait Implementations

impl<V, P, R> Send for VectorizedIter<V, P, R> where
    P: Send,
    R: Send,
    V: Send

impl<V, P, R> Sync for VectorizedIter<V, P, R> where
    P: Sync,
    R: Sync,
    V: Sync

impl<V, P, R> Unpin for VectorizedIter<V, P, R> where
    P: Unpin,
    R: Unpin,
    V: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.