pub struct ArrayLayout {Show 17 fields
pub frame_count: u32,
pub height: u32,
pub width: u32,
pub time_chunk: u32,
pub tile_height: u32,
pub tile_width: u32,
pub tile_rows: u32,
pub tile_columns: u32,
pub tile_count: u32,
pub time_chunks: u32,
pub shard_frames: u32,
pub shard_count: u32,
pub chunks_per_shard: u32,
pub delta: bool,
pub index_location: IndexLocation,
pub data_type: DataType,
pub fill_value: u16,
}Expand description
How one variable’s array is cut (docs/zarr-profile.md, “Array
metadata”). time_chunk, tile_height and tile_width are the inner
chunk; shard_frames is the outer chunk’s time extent, a positive multiple
of the time chunk.
Fields§
§frame_count: u32§height: u32§width: u32§time_chunk: u32§tile_height: u32§tile_width: u32§tile_rows: u32§tile_columns: u32§tile_count: u32§time_chunks: u32§shard_frames: u32§shard_count: u32§chunks_per_shard: u32§delta: bool§index_location: IndexLocation§data_type: DataType§fill_value: u16Implementations§
Source§impl ArrayLayout
impl ArrayLayout
Sourcepub fn tiles(&self) -> TileGeometry
pub fn tiles(&self) -> TileGeometry
The grid’s tiling, the container’s arithmetic over the same cells.
Built from the parsed fields directly: a store’s chunk may exceed a
small grid, which TileGeometry::new refuses for a container.
Trait Implementations§
Source§impl Clone for ArrayLayout
impl Clone for ArrayLayout
impl Copy for ArrayLayout
Source§impl Debug for ArrayLayout
impl Debug for ArrayLayout
Source§impl PartialEq for ArrayLayout
impl PartialEq for ArrayLayout
impl StructuralPartialEq for ArrayLayout
Auto Trait Implementations§
impl Forget for ArrayLayout
impl Freeze for ArrayLayout
impl Move for ArrayLayout
impl RefUnwindSafe for ArrayLayout
impl Send for ArrayLayout
impl Sync for ArrayLayout
impl Unpin for ArrayLayout
impl UnsafeUnpin for ArrayLayout
impl UnwindSafe for ArrayLayout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more