Skip to main content

Crate zarrs_chunk_grid

Crate zarrs_chunk_grid 

Source
Expand description

The chunk grid API for the zarrs crate.

§Licence

zarrs_chunk_grid is licensed under either of

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Modules§

iterators
Array subset iterators.

Structs§

ArraySubset
An array subset.
ChunkGrid
A chunk grid implementing ChunkGridTraits.
ChunkGridPlugin
A chunk grid plugin.
IncompatibleDimensionalityError
An incompatible dimensionality error.

Enums§

ArraySubsetError
An incompatible start/end indices error.
IndexerError
An incompatible indexer and array shape error.

Statics§

CHUNK_GRID_RUNTIME_REGISTRY
Global runtime registry for chunk grid plugins.

Traits§

ArraySubsetTraits
Trait for types that represent an array region (start and shape).
ChunkGridTraits
Chunk grid traits.
ChunkGridTraitsIterators
Chunk grid iterators.
ChunkShapeTraits
A trait for chunk shapes.
Indexer
A trait for a generic indexer.
IndexerIterator
This trait combines MaybeSend and MaybeSync for an iterator over generic items.

Functions§

ravel_indices
Ravel ND indices to a linearised index.
register_chunk_grid
Register a chunk grid plugin at runtime.
unregister_chunk_grid
Unregister a runtime chunk grid plugin.

Type Aliases§

ArrayIndices
An ND index to an element in an array or chunk.
ArrayIndicesTinyVec
An ND index to an element in an array or chunk. Uses TinyVec for stack allocation up to 4 dimensions.
ArrayShape
An array shape. Dimensions may be zero.
ChunkGridRuntimePlugin
A runtime chunk grid plugin for dynamic registration.
ChunkGridRuntimeRegistryHandle
A handle to a registered chunk grid plugin.
ChunkShape
A chunk shape. Dimensions must be non-zero.