Zip3Sequence

public struct Zip3Sequence <
    Sequence1: Sequence,
    Sequence2: Sequence,
    Sequence3: Sequence
>: IteratorProtocol, Sequence

Undocumented

  • Creates an instance that makes pairs of elements from sequence1 and sequence2.

    Declaration

    Swift

    @inlinable
    public init(_ sequence1: Sequence1, _ sequence2: Sequence2, _ sequence3: Sequence3)
  • Advances to the next element and returns it, or nil if no next element exists.

    Once nil has been returned, all subsequent calls return nil.

    Declaration

    Swift

    @inlinable
    public mutating func next() -> (Sequence1.Element, Sequence2.Element, Sequence3.Element)?