Required Associated Typeswift 6.0.1Swift
Element
The element type of the option set.
associatedtype Element = Self
To inherit all the default implementations from the OptionSet
protocol, the Element
type must be Self
, the default.
Restates
associatedtype Element
A type for which the conforming type provides a containment test.
Other requirements
Type members
init(rawValue: Self.RawValue
) Creates a new option set from the given raw value.