StructureSwift5.9.0
Iterator
An iterator over the members of a Set<Element>
.
@frozen struct Iterator
Citizens in Swift
where Element:Hashable
Conformances
protocol CustomReflectable
A type that explicitly supplies its own mirror.
protocol IteratorProtocol
A type that supplies the values of a sequence one at a time.
Members
var customMirror: Mirror
A mirror that reflects the iterator.
func next(
) -> Element? Advances to the next element and returns it, or
nil
if no next element exists.
Citizens in Swift
where Element:Hashable, Element:Sendable
Conformances
protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.