pub struct QuadRoot {
pub graph_count: u64,
pub quad_count: u64,
pub block_graphs: u64,
pub p0: Vec<u8>,
pub gdir_len: u64,
pub orders: Vec<QuadOrderRoot>,
}Expand description
The root of the quad index.
Fields§
§graph_count: u64Named graphs.
quad_count: u64Named-graph quads.
block_graphs: u64Graphs per graph-directory block.
p0: Vec<u8>The 0x05 P0: the graph-directory block index (offsets from the start of
QUAD_LEAVES, where the blocks are).
gdir_len: u64Bytes of graph-directory blocks at the start of QUAD_LEAVES.
orders: Vec<QuadOrderRoot>Per order present (mask order): (section index, tiles, leaves); a leaf
is (leaf, first (g, a), last (g, a), offset of its first tile in QUAD_DATA).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QuadRoot
impl RefUnwindSafe for QuadRoot
impl Send for QuadRoot
impl Sync for QuadRoot
impl Unpin for QuadRoot
impl UnsafeUnpin for QuadRoot
impl UnwindSafe for QuadRoot
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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