AppIntentTraits
The roles an app intent takes on, passed to @AppIntent.
Declaration
struct AppIntentTraitsOverview
Pass a single trait, such as .tool, or a list, such as [.tool]. The macro reads the traits as written, so they have to be listed directly rather than computed.
A set holds each trait at most once. Traits that take a value are compared by trait alone, so two values of the same trait are the same member.