| 107 | /// Internal (branch) node containing keys and child pointers. |
| 108 | #[derive(Debug, Clone)] |
| 109 | pub struct BranchNode<K, V> { |
| 110 | /// Maximum number of keys this node can hold. |
| 111 | pub(crate) capacity: usize, |
| 112 | /// Sorted list of separator keys. |
| 113 | pub(crate) keys: Vec<K>, |
| 114 | /// List of child nodes (leaves or other branches). |
| 115 | pub(crate) children: Vec<NodeRef<K, V>>, |
| 116 | } |
| 117 | |
| 118 | // ============================================================================ |
| 119 | // ENUMS AND RESULT TYPES |
nothing calls this directly
no outgoing calls
no test coverage detected