Structure

Set.Iterator

An iterator over the members of a Set<Element>.

Declaration

@frozen struct Iterator

Topics

Instance Properties

var customMirror: Mirror

A mirror that reflects the iterator.

Instance Methods

func next() -> Element?

Advances to the next element and returns it, or nil if no next element exists.

Relationships

From Protocol

See Also

Supporting Types

struct Set.Index

The position of an element in a set.