Instance Methodswift-algorithms 1.2.1Algorithms
next
Permutations.swift:217mutating func next() -> [Base.Element]?
mutating func next() -> [Base.Element]?
s10Algorithms20PermutationsSequenceV8IteratorV4nextSay7ElementQzGSgyF
What are these?4RRFH
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct Iterator
The iterator for a PermutationsSequence
instance.
struct PermutationsSequence<Base> where Base : Collection
A sequence of all the permutations of a collection’s elements.
associatedtype Element where Self.Element == Self.Iterator.Element
A type representing the sequence’s elements.