Insert a key-value pair at the specified index.
(&mut self, index: usize, key: K, value: V)
| 351 | |
| 352 | /// Insert a key-value pair at the specified index. |
| 353 | pub fn insert_at_index(&mut self, index: usize, key: K, value: V) { |
| 354 | self.keys.insert(index, key); |
| 355 | self.values.insert(index, value); |
| 356 | } |
| 357 | |
| 358 | /// Split this leaf node, returning the new right node. |
| 359 | pub fn split(&mut self) -> LeafNode<K, V> { |
no test coverage detected