<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/FrameResizeDirection/Set",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI20FrameResizeDirectionO3SetV"
  },
  "title" : "FrameResizeDirection.Set"
}
-->

# FrameResizeDirection.Set

An efficient set of frame resize directions.

```
@frozen struct Set
```

## Topics

### Initializers

[`init(FrameResizeDirection)`](/documentation/SwiftUI/FrameResizeDirection/Set/init(_:))

Creates a set of directions containing only the specified direction.

### Type Properties

[`static let all: FrameResizeDirection.Set`](/documentation/SwiftUI/FrameResizeDirection/Set/all)

A set containing the inward and outward resizing directions.

[`static let inward: FrameResizeDirection.Set`](/documentation/SwiftUI/FrameResizeDirection/Set/inward)

A set containing only the inward resize direction.

[`static let outward: FrameResizeDirection.Set`](/documentation/SwiftUI/FrameResizeDirection/Set/outward)

A set containing only the outward resize direction.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

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

---

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)