<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/VerticalEdge/Set",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI12VerticalEdgeO3SetV"
  },
  "title" : "VerticalEdge.Set"
}
-->

# VerticalEdge.Set

An efficient set of vertical edges.

```
@frozen struct Set
```

## Topics

### Getting edge sets

[`all`](/documentation/SwiftUI/VerticalEdge/Set/all)

A set containing the top and bottom vertical edges.

[`top`](/documentation/SwiftUI/VerticalEdge/Set/top)

A set containing only the top vertical edge.

[`bottom`](/documentation/SwiftUI/VerticalEdge/Set/bottom)

A set containing only the bottom vertical edge.

### Creating an edge set

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

Creates a set of edges containing only the specified vertical edge.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

---

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)