SwiftstructAlgorithmsInternal
EvenlyChunkedCollection
struct AlgorithmsInternal.EvenlyChunkedCollection
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.BidirectionalCollection
- protocolSwift.Collection
- protocolSwift.LazyCollectionProtocol
- protocolSwift.LazySequenceProtocol
- protocolSwift.RandomAccessCollection
- protocolSwift.Sequence
Members 35
- field
let base: A - field
let baseCount: Int - field
var firstUpperBound: A.Collection.Index - field
let numberOfChunks: Int - func
distance(from: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index, to: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> Int - func
endOfChunk(startingAt: A.Index, offset: Int) -> A.Index - func
index(after: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index - func
index(_: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index, offsetBy: Int, limitedBy: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index? - func
index(_: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index, offsetBy: Int) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index - func
AlgorithmsInternal.EvenlyChunkedCollection< where A: BidirectionalCollection>.index(before: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index - func
indexOfChunk(startingAt: A.Index, offset: Int) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index - func
indexOfChunk(endingAt: A.Index, offset: Int) -> AlgorithmsInternal.EvenlyChunkedCollection<A>.Index - func
sizeOfChunk(offset: Int) -> Int - func
startOfChunk(endingAt: A.Index, offset: Int) -> A.Index - init
init(base: A, numberOfChunks: Int) -> AlgorithmsInternal.EvenlyChunkedCollection<A> - subscript
subscript.getter : (AlgorithmsInternal.EvenlyChunkedCollection<A>.Index) -> A.SubSequence - typealias
typealias Element = A.Swift.Collection.SubSequence - typealias
typealias Element = A.Swift.Collection.SubSequence - typealias
typealias Element = A.Swift.Collection.SubSequence - typealias
typealias Element = A.Swift.Collection.SubSequence - typealias
typealias Elements = AlgorithmsInternal.EvenlyChunkedCollection<A> - typealias
typealias Index = AlgorithmsInternal.EvenlyChunkedCollection<A>.Index - typealias
typealias Index = AlgorithmsInternal.EvenlyChunkedCollection<A>.Index - typealias
typealias Index = AlgorithmsInternal.EvenlyChunkedCollection<A>.Index - typealias
typealias Indices = Swift.DefaultIndices<AlgorithmsInternal.EvenlyChunkedCollection<A>> - typealias
typealias Indices = Swift.DefaultIndices<AlgorithmsInternal.EvenlyChunkedCollection<A>> - typealias
typealias Indices = Swift.DefaultIndices<AlgorithmsInternal.EvenlyChunkedCollection<A>> - typealias
typealias Iterator = Swift.IndexingIterator<AlgorithmsInternal.EvenlyChunkedCollection<A>> - typealias
typealias Iterator = Swift.IndexingIterator<AlgorithmsInternal.EvenlyChunkedCollection<A>> - typealias
typealias SubSequence = Swift.Slice<AlgorithmsInternal.EvenlyChunkedCollection<A>> - typealias
typealias SubSequence = Swift.Slice<AlgorithmsInternal.EvenlyChunkedCollection<A>> - typealias
typealias SubSequence = Swift.Slice<AlgorithmsInternal.EvenlyChunkedCollection<A>> - var
var endIndex: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index { get } - var
var numberOfLargeChunks: Int { get } - var
var startIndex: AlgorithmsInternal.EvenlyChunkedCollection<A>.Index { get }
Header
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 } }