Trait flatk::IntoStaticChunkIterator [−][src]
pub trait IntoStaticChunkIterator<N> where
Self: Sized + Set,
N: Unsigned, {
type Item;
type IterType: Iterator<Item = Self::Item>;
fn into_static_chunk_iter(self) -> Self::IterType;
fn into_generic_static_chunk_iter(self) -> UniChunkedIter<Self, N>ⓘNotable traits for UniChunkedIter<S, N>impl<S, N> Iterator for UniChunkedIter<S, N> where
S: Set + SplitPrefix<N> + Dummy,
N: Unsigned, type Item = S::Prefix;
{ ... }
}
Expand description
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
Required methods
fn into_static_chunk_iter(self) -> Self::IterType
fn into_static_chunk_iter(self) -> Self::IterType
This function should panic if this collection length is not a multiple
of N
.
Provided methods
fn into_generic_static_chunk_iter(self) -> UniChunkedIter<Self, N>ⓘNotable traits for UniChunkedIter<S, N>impl<S, N> Iterator for UniChunkedIter<S, N> where
S: Set + SplitPrefix<N> + Dummy,
N: Unsigned, type Item = S::Prefix;
fn into_generic_static_chunk_iter(self) -> UniChunkedIter<Self, N>ⓘNotable traits for UniChunkedIter<S, N>impl<S, N> Iterator for UniChunkedIter<S, N> where
S: Set + SplitPrefix<N> + Dummy,
N: Unsigned, type Item = S::Prefix;
Notable traits for UniChunkedIter<S, N>
impl<S, N> Iterator for UniChunkedIter<S, N> where
S: Set + SplitPrefix<N> + Dummy,
N: Unsigned, type Item = S::Prefix;
Simply call this method for all types that implement SplitPrefix<N>
.