pub fn iterator(self: *const Self, comptime options: IteratorOptions) Iterator(options) self: *const Selfoptions: IteratorOptions655
656
657 pub fn iterator(self: *const Self, comptime options: IteratorOptions) Iterator(options) {
return Iterator(options).init(&self.masks, last_item_mask);
}
Iterates through the items in the set, according to the options. The default options (.{}) will iterate indices of set bits in ascending order. Modifications to the underlying bit set may or may not be observed by the iterator.