pub trait IntoStaticChunkIterator<N>{
type Item;
type IterType: Iterator<Item = Self::Item>;
// Required method
fn into_static_chunk_iter(self) -> Self::IterType;
// Provided method
fn into_generic_static_chunk_iter(self) -> UniChunkedIter<Self, N> ⓘ { ... }
}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.
Required Associated Types§
Required Methods§
Sourcefn 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§
Sourcefn into_generic_static_chunk_iter(self) -> UniChunkedIter<Self, N> ⓘ
fn into_generic_static_chunk_iter(self) -> UniChunkedIter<Self, N> ⓘ
Simply call this method for all types that implement SplitPrefix<N>.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.