<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSDirectionalRectEdge",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSDirectionalRectEdge"
  },
  "title" : "NSDirectionalRectEdge"
}
-->

# NSDirectionalRectEdge

```
struct NSDirectionalRectEdge
```

## Topics

### Initializers

[`init(rawValue: UInt)`](/documentation/AppKit/NSDirectionalRectEdge/init(rawValue:))

### Type Properties

[`static var all: NSDirectionalRectEdge`](/documentation/AppKit/NSDirectionalRectEdge/all)

[`static var bottom: NSDirectionalRectEdge`](/documentation/AppKit/NSDirectionalRectEdge/bottom)

[`static var leading: NSDirectionalRectEdge`](/documentation/AppKit/NSDirectionalRectEdge/leading)

[`static var top: NSDirectionalRectEdge`](/documentation/AppKit/NSDirectionalRectEdge/top)

[`static var trailing: NSDirectionalRectEdge`](/documentation/AppKit/NSDirectionalRectEdge/trailing)

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)