Struct vecmat::vector::GroupIter[][src]

pub struct GroupIter<I: Iterator, const N: usize> { /* fields omitted */ }

Iterator that groups each N elements in original sequence into N-dimensional vector and yields it.

Implementations

impl<I, const N: usize> GroupIter<I, N> where
    I: Iterator
[src]

pub fn new(iter: I) -> Self[src]

Create GroupIter from sequence.

Trait Implementations

impl<I, const N: usize> Iterator for GroupIter<I, N> where
    I: Iterator
[src]

type Item = Vector<I::Item, N>

The type of the elements being iterated over.

Auto Trait Implementations

impl<I, const N: usize> RefUnwindSafe for GroupIter<I, N> where
    I: RefUnwindSafe

impl<I, const N: usize> Send for GroupIter<I, N> where
    I: Send

impl<I, const N: usize> Sync for GroupIter<I, N> where
    I: Sync

impl<I, const N: usize> Unpin for GroupIter<I, N> where
    I: Unpin

impl<I, const N: usize> UnwindSafe for GroupIter<I, N> where
    I: UnwindSafe

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<I> IteratorRandom for I where
    I: Iterator
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,