Instance Propertypureswift.bluetooth 7.2.0Bluetooth
count
BitMaskOption.swift:98This declaration is deprecated: Use OptionSet instead
var count: Int { get }
This declaration is deprecated: Use OptionSet instead
var count: Int { get }
import Bluetooth
Pure Swift Bluetooth Definitions.
struct BitMaskOptionSet<Element> where Element : BitMaskOption
Integer-backed array type for BitMaskOption
.
@frozen struct Int
A signed integer value type.
init()
init(rawValue: RawValue)
static var all: BitMaskOptionSet<Element> { get }
var isEmpty: Bool { get }
var rawValue: RawValue { get }
func contains<S>(_ other: S) -> Bool where Element == S.Element, S : Sequence
func contains(_ element: Element) -> Bool
mutating func insert(_ element: Element)
@discardableResult mutating func remove(_ element: Element) -> Bool
mutating func removeAll()
typealias RawValue = Element.RawValue