#[repr(C, align(4))]pub struct TreeEntry {
pub n_nodes: u32,
pub offset: u32,
}Expand description
Tree table entry: metadata for one tree in the ensemble. 8 bytes.
The n_nodes field gives the number of PackedNodes in this tree.
The offset field is the byte offset from the start of the node data
region to this tree’s first node.
Fields§
§n_nodes: u32Number of nodes in this tree.
offset: u32Byte offset from nodes_base to this tree’s first PackedNode.
Trait Implementations§
impl Copy for TreeEntry
impl Eq for TreeEntry
impl StructuralPartialEq for TreeEntry
Auto Trait Implementations§
impl Freeze for TreeEntry
impl RefUnwindSafe for TreeEntry
impl Send for TreeEntry
impl Sync for TreeEntry
impl Unpin for TreeEntry
impl UnsafeUnpin for TreeEntry
impl UnwindSafe for TreeEntry
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