Structure

LazyDropWhileSequence.Iterator

An iterator over the elements traversed by a base iterator that follow the initial consecutive elements that satisfy a given predicate.

Declaration

@frozen struct Iterator

Overview

This is the associated iterator for the LazyDropWhileSequence, LazyDropWhileCollection, and LazyDropWhileBidirectionalCollection types.

Topics

Type Aliases

typealias LazyDropWhileSequence.Iterator.Element

The type of element traversed by the iterator.

Instance Methods

func next() -> LazyDropWhileSequence<Base>.Iterator.Element?

Advances to the next element and returns it, or nil if no next element exists.

Relationships

From Protocol