---
title: LazyPrefixWhileSequence.Index
framework: swift
role: symbol
role_heading: Structure
path: swift/lazyprefixwhilesequence/index
---

# LazyPrefixWhileSequence.Index

A position in a LazyPrefixWhileCollection or LazyPrefixWhileBidirectionalCollection instance.

## Declaration

```swift
@frozen struct Index
```

## Topics

### Default Implementations

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

## Relationships

### Conforms To

- [Comparable](swift/comparable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
