pub type ChunkedView<'a, S> = Chunked<S, Offsets<&'a [usize]>>;Aliased Type§
pub struct ChunkedView<'a, S> {
pub chunks: Offsets<&'a [usize]>,
pub data: S,
}Fields§
§chunks: Offsets<&'a [usize]>This can be either offsets of a uniform chunk size, if chunk size is specified at compile time.
data: STrait Implementations§
Source§impl<S, N> IntoStaticChunkIterator<N> for ChunkedView<'_, S>
impl<S, N> IntoStaticChunkIterator<N> for ChunkedView<'_, S>
type Item = <Chunked<S, Offsets<&[usize]>> as SplitPrefix<N>>::Prefix
type IterType = UniChunkedIter<Chunked<S, Offsets<&[usize]>>, N>
Source§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.Source§fn 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>.