_Sequence_Type

protocol _Sequence_Type

This protocol is an implementation detail of SequenceType; do not use it directly.

Its requirements are inherited by SequenceType and thus must be satisfied by types conforming to that protocol.

Inheritance _SequenceType View Protocol Hierarchy →
Associated Types
Generator : GeneratorType

A type whose instances can produce the elements of this sequence, in order.

Import import Swift

Instance Methods

func generate() Required

Return a generator over the elements of this sequence. The generator's next element is the first element of the sequence.

Complexity: O(1)

Declaration

func generate() -> Generator