Enum shipyard::iter::FastIter[][src]

pub enum FastIter<Storage> {
    Tight(FastTight<Storage>),
    Mixed(FastMixed<Storage>),
}

Variants

Tight(FastTight<Storage>)
Mixed(FastMixed<Storage>)

Implementations

impl<Storage: FastAbstractMut> FastIter<Storage>[src]

pub fn into_chunk(self, step: usize) -> Result<FastChunk<Storage>, Self>[src]

Transforms this iterator into a chunked iterator, yielding arrays of elements.
If the number of elements can’t be perfectly divided by step the last array will be smaller.

pub fn into_chunk_exact(
    self,
    step: usize
) -> Result<FastChunkExact<Storage>, Self>
[src]

Transforms this iterator into a chunked iterator, yielding arrays of elements.
If the number of elements can’t be perfectly divided by step the last elements will be ignored. Use remainder to retreive them.

Trait Implementations

impl<Storage: FastAbstractMut> DoubleEndedIterator for FastIter<Storage> where
    Storage::Index: Clone
[src]

impl<Storage: FastAbstractMut> From<FastIter<Storage>> for FastParIter<Storage>[src]

impl<Storage: FastAbstractMut> Iterator for FastIter<Storage> where
    Storage::Index: Clone
[src]

type Item = <Storage as FastAbstractMut>::Out

The type of the elements being iterated over.

impl<Storage: FastAbstractMut> LastId for FastIter<Storage>[src]

Auto Trait Implementations

impl<Storage> RefUnwindSafe for FastIter<Storage> where
    Storage: RefUnwindSafe

impl<Storage> Send for FastIter<Storage> where
    Storage: Send

impl<Storage> !Sync for FastIter<Storage>

impl<Storage> Unpin for FastIter<Storage> where
    Storage: Unpin

impl<Storage> UnwindSafe for FastIter<Storage> where
    Storage: 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<T> Pointable for T

type Init = T

The type for initializers.

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.