---
title: UIDirectionalRectEdge
framework: uikit
role: symbol
role_heading: Structure
path: uikit/uidirectionalrectedge
---

# UIDirectionalRectEdge

Constants that specify an edge or a set of edges, taking the user interface layout direction into account.

## Declaration

```swift
struct UIDirectionalRectEdge
```

## Topics

### Constants

- [top](uikit/uidirectionalrectedge/top.md)
- [leading](uikit/uidirectionalrectedge/leading.md)
- [bottom](uikit/uidirectionalrectedge/bottom.md)
- [trailing](uikit/uidirectionalrectedge/trailing.md)
- [all](uikit/uidirectionalrectedge/all.md)

### Initializers

- [init(rawValue:)](uikit/uidirectionalrectedge/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Deprecated enumerations

- [UIStatusBarAnimation](uikit/uistatusbaranimation.md)
