SwiftstructAlgorithmsInternal
InclusiveReductionsSequence
struct AlgorithmsInternal.InclusiveReductionsSequence
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Collection
- protocolSwift.LazyCollectionProtocol
- protocolSwift.LazySequenceProtocol
- protocolSwift.Sequence
Members 17
- field
let base: A - field
let transform: (A.Sequence.Element, A.Sequence.Element) -> A.Sequence.Element - func
AlgorithmsInternal.InclusiveReductionsSequence< where A: Collection>.distance(from: AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index, to: AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index) -> Int - func
AlgorithmsInternal.InclusiveReductionsSequence< where A: Collection>.index(after: AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index) -> AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index - func
makeIterator() -> AlgorithmsInternal.InclusiveReductionsSequence<A>.Iterator - init
init(base: A, transform: (A.Element, A.Element) -> A.Element) -> AlgorithmsInternal.InclusiveReductionsSequence<A> - subscript
AlgorithmsInternal.InclusiveReductionsSequence< where A: Collection>.subscript.getter : (AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index) -> A.Element - typealias
typealias Element = A.Swift.Sequence.Element - typealias
typealias Element = A.Swift.Sequence.Element - typealias
typealias Elements = AlgorithmsInternal.InclusiveReductionsSequence<A> - typealias
typealias Index = (extension in AlgorithmsInternal):AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Swift.Collection>.Index - typealias
typealias Indices = Swift.DefaultIndices<AlgorithmsInternal.InclusiveReductionsSequence<A>> - typealias
typealias Iterator = AlgorithmsInternal.InclusiveReductionsSequence<A>.Iterator - typealias
typealias Iterator = AlgorithmsInternal.InclusiveReductionsSequence<A>.Iterator - typealias
typealias SubSequence = Swift.Slice<AlgorithmsInternal.InclusiveReductionsSequence<A>> - var
var endIndex: AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index { get } - var
var startIndex: AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index { get }
Header
struct InclusiveReductionsSequence<A> where A: Swift.Sequence { struct Iterator { var iterator: A.Iterator var element: A.Element? let transform: (A.Element, A.Element) -> A.Element init(iterator: A.Iterator, transform: @escaping (A.Element, A.Element) -> A.Element) func next() -> A.Element? } let base: A let transform: (A.Element, A.Element) -> A.Element init(base: A, transform: @escaping (A.Element, A.Element) -> A.Element) func makeIterator() -> AlgorithmsInternal.InclusiveReductionsSequence<A>.Iterator }