leyline_engine/ids.rs
1/// Dense internal node identifier. Assigned sequentially by the writer;
2/// user-facing keys map to these via the key index.
3#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
4pub struct NodeId(pub u64);
5
6/// Interned edge label. Label strings live in the manifest's label table;
7/// segments store only this id.
8#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
9pub struct EdgeLabel(pub u32);