Iterator

public struct Iterator : IteratorProtocol

This is the Sequence Iterator Struct.

  • Simple “next” iterator method.

    Declaration

    Swift

    public mutating func next() -> Element?