<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/CollectionDifference/Index",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:s20CollectionDifferenceV5IndexV"
  },
  "title" : "CollectionDifference.Index"
}
-->

# CollectionDifference.Index

The position of a collection difference.

```
@frozen struct Index
```

## Topics

### Default Implementations

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

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

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

## Relationships

### Conforms To

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

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

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

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

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

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

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

---

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)