MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / BranchNode

Class BranchNode

rust/src/types.rs:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107/// Internal (branch) node containing keys and child pointers.
108#[derive(Debug, Clone)]
109pub 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected