Required Associated Typeswift 6.0.3Swift

Iterator

A type that provides the sequence’s iteration interface and encapsulates its iteration state.

You’re reading documentation from an older version of Swift 6.1.

A symbol with the same signature as this one exists in the latest stable release of Swift 6.1.

associatedtype Iterator : IteratorProtocol