Extract all content from this leaf (used for merging)
(&mut self)
| 499 | |
| 500 | /// Extract all content from this leaf (used for merging) |
| 501 | pub fn extract_all(&mut self) -> (Vec<K>, Vec<V>, NodeId) { |
| 502 | let keys = std::mem::take(&mut self.keys); |
| 503 | let values = std::mem::take(&mut self.values); |
| 504 | let next = self.next; |
| 505 | self.next = NULL_NODE; |
| 506 | (keys, values, next) |
| 507 | } |
| 508 | } |
| 509 | |
| 510 | // ============================================================================ |
no outgoing calls
no test coverage detected