<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/SearchSuggestionsPlacement/Set",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI26SearchSuggestionsPlacementV3SetV"
  },
  "title" : "SearchSuggestionsPlacement.Set"
}
-->

# SearchSuggestionsPlacement.Set

An efficient set of search suggestion display modes.

```
struct Set
```

## Topics

### Getting placement sets

[`content`](/documentation/SwiftUI/SearchSuggestionsPlacement/Set/content)

A set containing placements with the apps main content, excluding
the menu placement.

[`menu`](/documentation/SwiftUI/SearchSuggestionsPlacement/Set/menu)

A set containing the menu display mode.

### Creating a set

[`init(rawValue:)`](/documentation/SwiftUI/SearchSuggestionsPlacement/Set/init(rawValue:))

Creates a set of search suggestions from an integer.

[`rawValue`](/documentation/SwiftUI/SearchSuggestionsPlacement/Set/rawValue)

The raw value that records the search suggestion display modes.

### Supporting types

[`Element`](/documentation/SwiftUI/SearchSuggestionsPlacement/Set/Element)

A type for the elements of the set.

## Relationships

### Conforms To

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

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

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

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

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

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

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

---

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)