Structureswift 6.0.3Swift
Iterator
@frozen struct Iterator
@frozen struct Iterator
where Base:Sequence
import Swift
@frozen struct DropWhileSequence<Base> where Base : Sequence
A sequence that lazily consumes and drops n
elements from an underlying Base
iterator before possibly returning the first available element.
protocol Sequence<Element>
A type that provides sequential, iterated access to its elements.
func drop(while predicate: (DropWhileSequence<Base>.Element) throws -> Bool) rethrows -> DropWhileSequence<Base>
func makeIterator() -> DropWhileSequence<Base>.Iterator
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Escapable
protocol IteratorProtocol<Element>
A type that supplies the values of a sequence one at a time.
mutating func next() -> DropWhileSequence<Base>.Iterator.Element?
typealias Element = Base.Element
protocol Sendable