Type Aliasswift 6.0.1Swift
Iterator
- iOS
- 18.0+
- macOS
- 15.0+
- tvOS
- 18.0+
- visionOS
- 2.0+
- watchOS
- 11.0+
typealias Iterator = IndexingIterator<RangeSet<Bound>.Ranges>
typealias Iterator = IndexingIterator<RangeSet<Bound>.Ranges>
import Swift
struct Ranges
A collection of the ranges that make up a range set.
struct RangeSet<Bound> where Bound : Comparable
A set of values of any comparable type, represented by ranges.
@frozen struct IndexingIterator<Elements> where Elements : Collection
A type that iterates over a collection using its indices.
var count: Int { get }
var description: String { get }
var endIndex: RangeSet<Bound>.Ranges.Index { get }
var startIndex: RangeSet<Bound>.Ranges.Index { get }
subscript(i: RangeSet<Bound>.Ranges.Index) -> RangeSet<Bound>.Ranges.Element { get }
static func == (left: RangeSet<Bound>.Ranges, right: RangeSet<Bound>.Ranges) -> Bool
typealias Element = Range<Bound>
typealias Index = Int
typealias Indices = Range<RangeSet<Bound>.Ranges.Index>
typealias SubSequence = Slice<RangeSet<Bound>.Ranges>