Structureswift-algorithms 1.2.1Algorithms
Iterator
An iterator over a StridingSequence
instance.
struct Iterator
An iterator over a StridingSequence
instance.
struct Iterator
where Base:Sequence
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct StridingSequence<Base> where Base : Sequence
A wrapper that strides over a base sequence.
protocol Sequence<Element>
A type that provides sequential, iterated access to its elements.
func makeIterator() -> Iterator
func striding(by step: Int) -> StridingSequence<Base>
protocol IteratorProtocol<Element>
A type that supplies the values of a sequence one at a time.
mutating func next() -> Base.Element?