Iterator

public struct Iterator : IteratorProtocol

This is the Sequence Iterator Struct.

  • Simple next iterator method.

    Declaration

    Swift

    mutating public func next() -> Element?