Clears the cache.
(&mut self)
| 66 | |
| 67 | /// Clears the cache. |
| 68 | pub fn clear(&mut self) { |
| 69 | self.map.clear(); |
| 70 | } |
| 71 | |
| 72 | /// Returns an iterator over the cache's values. |
| 73 | pub fn values(&self) -> std::collections::hash_map::Values<Key, Value> { |
no outgoing calls