Instance Propertyswift-algorithms 1.2.1Algorithms
startIndex
Cycle.swift:100var startIndex: Index { get }
var startIndex: Index { get }
s10Algorithms21CycledTimesCollectionV10startIndexAC0F0Vyx_Gvp
What are these?8RUGY
where Base:Collection
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct CycledTimesCollection<Base> where Base : Collection
A collection wrapper that repeats the elements of a base collection for a finite number of times.
struct Index
protocol Collection<Element> : Sequence
A sequence whose elements can be traversed multiple times, nondestructively, and accessed by an indexed subscript.
var count: Int { get }
var endIndex: Index { get }
subscript(index: Index) -> Element { get }
func distance(from start: Index, to end: Index) -> Int
func index(_ i: Index, offsetBy distance: Int) -> Index
func index(_ i: Index, offsetBy distance: Int, limitedBy limit: Index) -> Index?
func index(after i: Index) -> Index
typealias Element = Base.Element