Returns whether the map is empty.
(&self)
| 137 | |
| 138 | /// Returns whether the map is empty. |
| 139 | pub fn is_empty(&self) -> bool { |
| 140 | self.len() == 0 |
| 141 | } |
| 142 | |
| 143 | /// Returns an iterator over all the key-value pairs in the map. |
| 144 | pub fn iter(&self) -> impl ExactSizeIterator<Item = (&K, &V)> { |
no test coverage detected