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