Fill in missing implementation
This commit is contained in:
parent
10f15e72e6
commit
c55ae1dc30
@ -585,6 +585,9 @@ impl <K, V> Node<K, V> {
|
||||
self._len
|
||||
}
|
||||
|
||||
/// Does the node not contain any key-value pairs
|
||||
pub fn is_empty(&self) -> bool { self.len() == 0 }
|
||||
|
||||
/// How many key-value pairs the node can fit
|
||||
pub fn capacity(&self) -> usize {
|
||||
self._capacity
|
||||
|
Loading…
Reference in New Issue
Block a user