Total number of indexed positions across all buckets.
(&self)
| 100 | |
| 101 | /// Total number of indexed positions across all buckets. |
| 102 | pub fn position_count(&self) -> usize { |
| 103 | self.buckets.values().map(Vec::len).sum() |
| 104 | } |
| 105 | |
| 106 | /// `true` if no positions have been indexed. |
| 107 | pub fn is_empty(&self) -> bool { |