Struct shipyard::iter::FastTight[][src]

pub struct FastTight<Storage> { /* fields omitted */ }

Implementations

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

pub fn into_chunk(self, step: usize) -> FastChunk<Storage>

Notable traits for FastChunk<Storage>

impl<Storage: FastAbstractMut> Iterator for FastChunk<Storage> type Item = Storage::Slice;
[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) -> FastChunkExact<Storage>

Notable traits for FastChunkExact<Storage>

impl<Storage: FastAbstractMut> Iterator for FastChunkExact<Storage> type Item = Storage::Slice;
[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 FastTight<Storage>[src]

impl<Storage: FastAbstractMut> ExactSizeIterator for FastTight<Storage>[src]

impl<Storage: FastAbstractMut> From<FastTight<Storage>> for FastParTight<Storage>[src]

impl<Storage: FastAbstractMut> Iterator for FastTight<Storage>[src]

type Item = <Storage as FastAbstractMut>::Out

The type of the elements being iterated over.

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

impl<Storage: FastAbstractMut + Clone + Send> Producer for FastTight<Storage>[src]

type Item = Self::Item

The type of item that will be produced by this producer once it is converted into an iterator. Read more

type IntoIter = Self

The type of iterator we will become.

Auto Trait Implementations

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

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

impl<Storage> Sync for FastTight<Storage> where
    Storage: Sync

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

impl<Storage> UnwindSafe for FastTight<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.