pub trait Chunk { type Array; // Required methods fn array(&self) -> &Self::Array; fn array_mut(&mut self) -> &mut Self::Array; }
One piece of a chunked lattice map.
The inner array type. This makes it easier for Chunk implementations to satisfy access trait bounds by inheriting them from existing array types like Array.
Chunk
Array
Borrow the inner array.
Mutably borrow the inner array.