SemanticsChannels
A set of semantic channels represented as a bitmask....
Declaration
struct SemanticsChannelsSummary
A set of semantic channels represented as a bitmask. This OptionSet allows for efficient bitwise operations on channel sets.
Constructors
Constructor
init(channelNames: Set<SemanticsChannelName>)
Summary
Overload
init(rawValue: UInt32)
Properties
| Name | Type | Summary |
|---|---|---|
| let rawValue | UInt32 | - |
Methods
| Name | Type | Summary |
|---|---|---|
| contains | Bool | Check if a specific channel is present in this set - Parameter channel: The channel to check for - Returns: true if the channel is present, false otherwise |
| toChannelNames | Set<SemanticsChannelName> | Convert the bitmask to a Set of SemanticsChannelName values |
Create a SemanticsChannels OptionSet from a Set of SemanticsChannelName values