The number of pointers in the map. This is equal to the number of non-colliding hashes plus the number of colliding hashes.
(&self)
| 184 | /// The number of pointers in the map. This is equal to the number of non-colliding hashes |
| 185 | /// plus the number of colliding hashes. |
| 186 | pub fn len(&self) -> usize { |
| 187 | self.num_collisions() + self.num_non_collisions() |
| 188 | } |
| 189 | |
| 190 | /// Returns true if there are no pointers in the map. |
| 191 | pub fn is_empty(&self) -> bool { |