pub const Iterator = struct
inner: BitSet.Iterator(.{})
values: *[Indexer.count]Value
pub fn next(self: *Iterator) ?Entry
628 629 630 631 632 633 634 635 636 637 638 639 640 641
pub const Iterator = struct { inner: BitSet.Iterator(.{}), values: *[Indexer.count]Value, pub fn next(self: *Iterator) ?Entry { return if (self.inner.next()) |index| Entry{ .key = Indexer.keyForIndex(index), .value = &self.values[index], } else null; } }