---
title: MirrorPath
framework: swift
role: symbol
role_heading: Protocol
path: swift/mirrorpath
---

# MirrorPath

A protocol for legitimate arguments to Mirror’s descendant method.

## Declaration

```swift
protocol MirrorPath
```

## Overview

Overview Do not declare new conformances to this protocol; they will not work as expected.

## Relationships

### Conforming Types

- [Int](swift/int.md)
- [String](swift/string.md)

## See Also

### Querying Descendants

- [descendant(_:_:)](swift/mirror/descendant(_:_:).md)
