Expand description
The chunk grid API for the zarrs crate.
§Licence
zarrs_chunk_grid is licensed under either of
- the Apache License, Version 2.0 LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0 or
- the MIT license LICENSE-MIT or http://opensource.org/licenses/MIT, at your option.
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§
- Array
Subset - An array subset.
- Chunk
Grid - A chunk grid implementing
ChunkGridTraits. - Chunk
Grid Plugin - A chunk grid plugin.
- Incompatible
Dimensionality Error - An incompatible dimensionality error.
Enums§
- Array
Subset Error - An incompatible start/end indices error.
- Indexer
Error - An incompatible indexer and array shape error.
Statics§
- CHUNK_
GRID_ RUNTIME_ REGISTRY - Global runtime registry for chunk grid plugins.
Traits§
- Array
Subset Traits - Trait for types that represent an array region (start and shape).
- Chunk
Grid Traits - Chunk grid traits.
- Chunk
Grid Traits Iterators - Chunk grid iterators.
- Chunk
Shape Traits - A trait for chunk shapes.
- Indexer
- A trait for a generic indexer.
- Indexer
Iterator - This trait combines
MaybeSendandMaybeSyncfor 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§
- Array
Indices - An ND index to an element in an array or chunk.
- Array
Indices Tiny Vec - An ND index to an element in an array or chunk.
Uses
TinyVecfor stack allocation up to 4 dimensions. - Array
Shape - An array shape. Dimensions may be zero.
- Chunk
Grid Runtime Plugin - A runtime chunk grid plugin for dynamic registration.
- Chunk
Grid Runtime Registry Handle - A handle to a registered chunk grid plugin.
- Chunk
Shape - A chunk shape. Dimensions must be non-zero.