Iterator
_UnsafeBitSet.swift:703@frozen struct Iterator@frozen struct Iterators28InternalCollectionsUtilities13_UnsafeBitSetV8IteratorV What are these?2ECBNimport InternalCollectionsUtilities@frozen struct _UnsafeBitSetAn unsafe-unowned bitset view over UInt storage, providing bit set primitives.
init(words: UnsafeBufferPointer<_UnsafeBitSet._Word>, mutable: Bool) init(words: UnsafeMutableBufferPointer<_UnsafeBitSet._Word>, mutable: Bool) static func withTemporaryBitSet<R>(capacity: Int, run body: (inout _UnsafeBitSet) throws -> R) rethrows -> R static func withTemporaryBitSet<R>(wordCount: Int, run body: (inout _UnsafeBitSet) throws -> R) rethrows -> R static func wordCount(forCapacity capacity: UInt) -> Int var _mutableWords: UnsafeMutableBufferPointer<_UnsafeBitSet._Word> { get }let _words: UnsafeBufferPointer<_UnsafeBitSet._Word>An unsafe-unowned storage view.
var capacity: UInt { get }var count: Int { get }var endIndex: _UnsafeBitSet.Index { get }var isEmpty: Bool { get }var startIndex: _UnsafeBitSet.Index { get }var underestimatedCount: Int { get }var wordCount: Int { get }subscript(position: _UnsafeBitSet.Index) -> UInt { get } func contains(_ element: UInt) -> Bool func distance(from start: _UnsafeBitSet.Index, to end: _UnsafeBitSet.Index) -> Int func ensureMutable() func index(_ i: _UnsafeBitSet.Index, offsetBy distance: Int) -> _UnsafeBitSet.Index func index(_ i: _UnsafeBitSet.Index, offsetBy distance: Int, limitedBy limit: _UnsafeBitSet.Index) -> _UnsafeBitSet.Index? func index(after index: _UnsafeBitSet.Index) -> _UnsafeBitSet.Index func index(before index: _UnsafeBitSet.Index) -> _UnsafeBitSet.Index @discardableResult mutating func insert(_ element: Int) -> Bool @discardableResult mutating func insert(_ element: UInt) -> Bool mutating func insertAll(upTo max: Int) mutating func insertAll(upTo max: UInt) func makeIterator() -> _UnsafeBitSet.Iterator @discardableResult mutating func remove(_ element: Int) -> Bool @discardableResult mutating func remove(_ element: UInt) -> Bool mutating func update(_ member: UInt, to newValue: Bool) -> Bool @frozen struct Index@frozen struct _Wordtypealias Element = UIntprotocol BitwiseCopyable : ~Escapableprotocol IteratorProtocol<Element>A type that supplies the values of a sequence one at a time.
mutating func next() -> UInt?