pub struct NodeMeta {
pub external_id: ExternalId,
pub level: u8,
pub vector_offset: u32,
}Expand description
Per-node metadata stored in the construction graph and on disk.
Fields§
§external_id: ExternalIdCaller-facing ID for this node.
level: u8Highest layer this node occupies. The node has adjacency slots on
layers 0..=level.
vector_offset: u32Start of the node’s vector in the packed f32 store, as an element
index (not a byte offset). The on-disk layout uses the same unit:
multiply by 4 to reach the vector section.
Trait Implementations§
impl Copy for NodeMeta
impl Eq for NodeMeta
impl StructuralPartialEq for NodeMeta
Auto Trait Implementations§
impl Freeze for NodeMeta
impl RefUnwindSafe for NodeMeta
impl Send for NodeMeta
impl Sync for NodeMeta
impl Unpin for NodeMeta
impl UnsafeUnpin for NodeMeta
impl UnwindSafe for NodeMeta
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