---
title: EnumeratedSequence.Index
framework: swift
role: symbol
role_heading: Structure
path: swift/enumeratedsequence/index
---

# EnumeratedSequence.Index

A type that represents a position in the collection.

## Declaration

```swift
@frozen struct Index
```

## Overview

Overview Valid indices consist of the position of every element and a “past the end” position that’s not valid for use as a subscript argument.

## Topics

### Instance Properties

- [base](swift/enumeratedsequence/index/base.md)

### Default Implementations

- [Comparable Implementations](swift/enumeratedsequence/index/comparable-implementations.md)
- [Equatable Implementations](swift/enumeratedsequence/index/equatable-implementations.md)

## Relationships

### Conforms To

- [Comparable](swift/comparable.md)
- [Equatable](swift/equatable.md)
