struct
Zip2Iterator
<
Iterator1
,
Iterator2
where
Iterator1
:
IteratorProtocol
,
Iterator2
:
IteratorProtocol
>
Inheritance |
IteratorProtocol
View Protocol Hierarchy →
|
---|---|
Associated Types |
The type of element returned by |
Import |
|
Instance Methods
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
mutating
func
next
() -
>
Zip2Iterator
.
Element
?
An iterator for
Zip2Sequence
.