1use crate::TrailTree; 2 3impl<K,T> TrailTree<K,T> 4where K: Clone + Ord 5{ 6 /// Returns the allocated memory capacity. 7 pub fn capacity(&self) -> usize 8 { 9 self.cells.capacity() 10 } 11}