Skip to main content

ChunkGridTraitsIterators

Trait ChunkGridTraitsIterators 

Source
pub trait ChunkGridTraitsIterators: ChunkGridTraits {
    // Provided methods
    fn iter_chunk_subsets(&self) -> Box<dyn Iterator<Item = ArraySubset> + '_> { ... }
    fn iter_chunk_indices_and_subsets(
        &self,
    ) -> Box<dyn Iterator<Item = (TinyVec<[u64; 4]>, ArraySubset)> + '_> { ... }
}
Expand description

Chunk grid iterators.

Provided Methods§

Source

fn iter_chunk_subsets(&self) -> Box<dyn Iterator<Item = ArraySubset> + '_>

Return a serial iterator over the chunk subsets of the chunk grid.

Source

fn iter_chunk_indices_and_subsets( &self, ) -> Box<dyn Iterator<Item = (TinyVec<[u64; 4]>, ArraySubset)> + '_>

Return a serial iterator over the chunk indices and subsets of the chunk grid.

Implementors§