(&self)
| 149 | } |
| 150 | |
| 151 | fn iter(&self) -> Box<dyn Iterator<Item = (&PayloadKey, &RoaringBitmap)> + '_> { |
| 152 | match self { |
| 153 | Self::Equality(m) => Box::new(m.iter()), |
| 154 | Self::Range(m) => Box::new(m.iter()), |
| 155 | } |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | /// Bitmap index for a single payload field. |
no outgoing calls