SwiftstructAlgorithmsInternal

struct AlgorithmsInternal.EvenlyChunkedCollection

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 35

  1. fieldlet base: A
  2. fieldlet baseCount: Int
  3. fieldvar firstUpperBound: A.Collection.Index
  4. fieldlet numberOfChunks: Int
  5. funcdistance(from: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index, to: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> Int
  6. funcendOfChunk(startingAt: A.Index, offset: Int) -> A.Index
  7. funcindex(after: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
  8. funcindex(_: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index, offsetBy: Int, limitedBy: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index?
  9. funcindex(_: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index, offsetBy: Int) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
  10. funcAlgorithmsInternal.EvenlyChunkedCollection< where A: BidirectionalCollection>.index(before: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
  11. funcindexOfChunk(startingAt: A.Index, offset: Int) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
  12. funcindexOfChunk(endingAt: A.Index, offset: Int) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
  13. funcsizeOfChunk(offset: Int) -> Int
  14. funcstartOfChunk(endingAt: A.Index, offset: Int) -> A.Index
  15. initinit(base: A, numberOfChunks: Int) -> AlgorithmsInternal.EvenlyChunkedCollection<A>
  16. subscriptsubscript.getter : (AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> A.SubSequence
  17. typealiastypealias Element = A.Swift.Collection.SubSequence
  18. typealiastypealias Element = A.Swift.Collection.SubSequence
  19. typealiastypealias Element = A.Swift.Collection.SubSequence
  20. typealiastypealias Element = A.Swift.Collection.SubSequence
  21. typealiastypealias Elements = AlgorithmsInternal.EvenlyChunkedCollection<A>
  22. typealiastypealias Index = AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
  23. typealiastypealias Index = AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
  24. typealiastypealias Index = AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
  25. typealiastypealias Indices = Swift.DefaultIndices<AlgorithmsInternal.EvenlyChunkedCollection<A>>
  26. typealiastypealias Indices = Swift.DefaultIndices<AlgorithmsInternal.EvenlyChunkedCollection<A>>
  27. typealiastypealias Indices = Swift.DefaultIndices<AlgorithmsInternal.EvenlyChunkedCollection<A>>
  28. typealiastypealias Iterator = Swift.IndexingIterator<AlgorithmsInternal.EvenlyChunkedCollection<A>>
  29. typealiastypealias Iterator = Swift.IndexingIterator<AlgorithmsInternal.EvenlyChunkedCollection<A>>
  30. typealiastypealias SubSequence = Swift.Slice<AlgorithmsInternal.EvenlyChunkedCollection<A>>
  31. typealiastypealias SubSequence = Swift.Slice<AlgorithmsInternal.EvenlyChunkedCollection<A>>
  32. typealiastypealias SubSequence = Swift.Slice<AlgorithmsInternal.EvenlyChunkedCollection<A>>
  33. varvar endIndex: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index { get }
  34. varvar numberOfLargeChunks: Int { get }
  35. varvar startIndex: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index { get }
struct EvenlyChunkedCollection<A> where A: Swift.Collection {
    struct Index {
        var baseRange: Swift.Range<A.Index>
        var offset: Swift.Int

        init(_: Swift.Range<A.Index>, offset: Swift.Int)

        static func < (_: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index, _: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> Swift.Bool
    }
    let base: A
    let numberOfChunks: Swift.Int
    let baseCount: Swift.Int
    var firstUpperBound: A.Index

    init(base: A, numberOfChunks: Swift.Int)

    var endIndex: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index {
        get
    }
    var numberOfLargeChunks: Swift.Int {
        get
    }
    var startIndex: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index {
        get
    }

    func endOfChunk(startingAt: A.Index, offset: Swift.Int) -> A.Index
    func sizeOfChunk(offset: Swift.Int) -> Swift.Int
    func indexOfChunk(startingAt: A.Index, offset: Swift.Int) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
    func indexOfChunk(endingAt: A.Index, offset: Swift.Int) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
    func startOfChunk(endingAt: A.Index, offset: Swift.Int) -> A.Index
    func index(after: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
    func index(_: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index, offsetBy: Swift.Int, limitedBy: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index?
    func index(_: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index, offsetBy: Swift.Int) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index
    func distance(from: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index, to: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> Swift.Int

    subscript(_: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> A.SubSequence {
        get
    }
}