<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/ReversedCollection/Index",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:s18ReversedCollectionV5IndexV"
  },
  "title" : "ReversedCollection.Index"
}
-->

# ReversedCollection.Index

An index that traverses the same positions as an underlying index,
with inverted traversal direction.

```
@frozen struct Index
```

## Topics

### Initializers

[`init(Base.Index)`](/documentation/Swift/ReversedCollection/Index/init(_:))

Creates a new index into a reversed collection for the position before
the specified index.

### Instance Properties

[`let base: Base.Index`](/documentation/Swift/ReversedCollection/Index/base)

The position after this position in the underlying collection.

### Default Implementations

[Comparable Implementations](/documentation/Swift/ReversedCollection/Index/Comparable-Implementations)

[Equatable Implementations](/documentation/Swift/ReversedCollection/Index/Equatable-Implementations)

[Hashable Implementations](/documentation/Swift/ReversedCollection/Index/Hashable-Implementations)

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Comparable`](/documentation/Swift/Comparable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)