Returns the number of elements the map can hold without reallocating.
(&self)
| 97 | |
| 98 | /// Returns the number of elements the map can hold without reallocating. |
| 99 | pub fn capacity(&self) -> usize { |
| 100 | self.elems.capacity() |
| 101 | } |
| 102 | |
| 103 | /// Get the element at `k` if it exists. |
| 104 | #[inline(always)] |
no outgoing calls
no test coverage detected