pub struct IndexHeaderV2 {
pub tile_width: u16,
pub tile_height: u16,
pub group_count: u16,
pub variable_count: u8,
pub compression: Compression,
pub chunk_count: u32,
}Expand description
The 32-byte v2 index header: the tiling, the partition sizes and the one compression every chunk uses.
tileColumns, tileRows and tileCount are derived from the metadata
grid and never stored, so the geometry has exactly one encoding.
Fields§
§tile_width: u16§tile_height: u16§group_count: u16§variable_count: u8§compression: Compression§chunk_count: u32Implementations§
Trait Implementations§
Source§impl Clone for IndexHeaderV2
impl Clone for IndexHeaderV2
impl Copy for IndexHeaderV2
Source§impl Debug for IndexHeaderV2
impl Debug for IndexHeaderV2
impl Eq for IndexHeaderV2
Source§impl PartialEq for IndexHeaderV2
impl PartialEq for IndexHeaderV2
impl StructuralPartialEq for IndexHeaderV2
Auto Trait Implementations§
impl Forget for IndexHeaderV2
impl Freeze for IndexHeaderV2
impl Move for IndexHeaderV2
impl RefUnwindSafe for IndexHeaderV2
impl Send for IndexHeaderV2
impl Sync for IndexHeaderV2
impl Unpin for IndexHeaderV2
impl UnsafeUnpin for IndexHeaderV2
impl UnwindSafe for IndexHeaderV2
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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