---
title: RangeSet.Ranges
framework: swift
role: symbol
role_heading: Structure
path: swift/rangeset/ranges-swift.struct
---

# RangeSet.Ranges

A collection of the ranges that make up a range set.

## Declaration

```swift
struct Ranges
```

## Topics

### Default Implementations

- [BidirectionalCollection Implementations](swift/rangeset/ranges-swift.struct/bidirectionalcollection-implementations.md)
- [Collection Implementations](swift/rangeset/ranges-swift.struct/collection-implementations.md)
- [CustomStringConvertible Implementations](swift/rangeset/ranges-swift.struct/customstringconvertible-implementations.md)
- [Equatable Implementations](swift/rangeset/ranges-swift.struct/equatable-implementations.md)
- [Hashable Implementations](swift/rangeset/ranges-swift.struct/hashable-implementations.md)
- [RandomAccessCollection Implementations](swift/rangeset/ranges-swift.struct/randomaccesscollection-implementations.md)
- [Sequence Implementations](swift/rangeset/ranges-swift.struct/sequence-implementations.md)

## Relationships

### Conforms To

- [BidirectionalCollection](swift/bidirectionalcollection.md)
- [Collection](swift/collection.md)
- [Copyable](swift/copyable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RandomAccessCollection](swift/randomaccesscollection.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Sequence](swift/sequence.md)
