pub const Iterator = struct
index: usize = 0
values: *[Indexer.count]Value
pub fn next(self: *Iterator) ?Entry
1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153
pub const Iterator = struct { index: usize = 0, values: *[Indexer.count]Value, pub fn next(self: *Iterator) ?Entry { const index = self.index; if (index < Indexer.count) { self.index += 1; return Entry{ .key = Indexer.keyForIndex(index), .value = &self.values[index], }; } return null; } }