[−][src]Trait flatk::IntoStaticChunkIterator
Iterate over chunks whose size is determined at compile time. Note that each chunk may not be a simple array, although a statically sized chunk of a slice is an array.
Associated Types
Loading content...Required methods
fn into_static_chunk_iter(self) -> Self::IterType
This function should panic if this collection length is not a multiple
of N
.
Provided methods
ⓘImportant traits for UniChunkedIter<S, N>fn into_generic_static_chunk_iter(self) -> UniChunkedIter<Self, N>
ⓘImportant traits for UniChunkedIter<S, N>
Simply call this method for all types that implement SplitPrefix<N>
.
Implementations on Foreign Types
impl<I, N> IntoStaticChunkIterator<N> for Range<I> where
Self: Set + SplitPrefix<N> + Dummy,
N: Unsigned,
[src]
Self: Set + SplitPrefix<N> + Dummy,
N: Unsigned,
type Item = Self::Prefix
type IterType = UniChunkedIter<Self, N>
fn into_static_chunk_iter(self) -> Self::IterType
[src]
impl<'a, T, N> IntoStaticChunkIterator<N> for &'a [T] where
Self: SplitPrefix<N>,
N: Unsigned,
[src]
Self: SplitPrefix<N>,
N: Unsigned,
type Item = Self::Prefix
type IterType = UniChunkedIter<Self, N>
fn into_static_chunk_iter(self) -> Self::IterType
[src]
impl<'a, T, N> IntoStaticChunkIterator<N> for &'a mut [T] where
Self: SplitPrefix<N>,
N: Unsigned,
[src]
Self: SplitPrefix<N>,
N: Unsigned,
type Item = Self::Prefix
type IterType = UniChunkedIter<Self, N>
fn into_static_chunk_iter(self) -> Self::IterType
[src]
impl<N, S, T> IntoStaticChunkIterator<N> for (S, T) where
S: IntoStaticChunkIterator<N>,
T: IntoStaticChunkIterator<N>,
N: Unsigned,
[src]
S: IntoStaticChunkIterator<N>,
T: IntoStaticChunkIterator<N>,
N: Unsigned,
type Item = (S::Item, T::Item)
type IterType = Zip<S::IterType, T::IterType>
fn into_static_chunk_iter(self) -> Self::IterType
[src]
impl<T, N> IntoStaticChunkIterator<N> for Vec<T> where
N: Unsigned + Array<T>,
[src]
N: Unsigned + Array<T>,
type Item = N::Array
type IterType = IntoIter<N::Array>
fn into_static_chunk_iter(self) -> Self::IterType
[src]
Implementors
impl<'_, S, N> IntoStaticChunkIterator<N> for ChunkedView<'_, S> where
Self: Set + SplitPrefix<N> + Dummy,
N: Unsigned,
[src]
Self: Set + SplitPrefix<N> + Dummy,
N: Unsigned,
type Item = Self::Prefix
type IterType = UniChunkedIter<Self, N>
fn into_static_chunk_iter(self) -> Self::IterType
[src]
impl<S, N, M> IntoStaticChunkIterator<N> for UniChunked<S, M> where
Self: Set + SplitPrefix<N> + Dummy,
N: Unsigned,
[src]
Self: Set + SplitPrefix<N> + Dummy,
N: Unsigned,