()
| 27 | V: Clone + TreeSerialization + TreeDeserialization + Display + Debug, |
| 28 | { |
| 29 | pub fn new_leaf() -> Self { |
| 30 | Node { |
| 31 | keys: Vec::new(), |
| 32 | values: Vec::new(), |
| 33 | children: Vec::new(), |
| 34 | max_keys: MAX_KEYS, // Assuming a small number for testing purposes |
| 35 | node_type: NodeType::Leaf, |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | pub fn new_internal() -> Self { |
| 40 | Node { |
nothing calls this directly
no outgoing calls
no test coverage detected