Instance Methodpureswift.bluetooth 7.2.0Bluetooth
contains(_:)
BitMaskOption.swift:87This declaration is deprecated: Use OptionSet instead
func contains<S>(_ other: S) -> Bool where Element == S.Element, S : Sequence
This declaration is deprecated: Use OptionSet instead
func contains<S>(_ other: S) -> Bool where Element == S.Element, S : Sequence
s9Bluetooth16BitMaskOptionSetV8containsySbqd__7ElementQyd__RszSTRd__lF
What are these?89RLF
import Bluetooth
Pure Swift Bluetooth Definitions.
struct BitMaskOptionSet<Element> where Element : BitMaskOption
Integer-backed array type for BitMaskOption
.
@frozen struct Bool
A value type whose instances are either true
or false
.
associatedtype Element where Self.Element == Self.Iterator.Element
A type representing the sequence’s elements.
protocol Sequence<Element>
A type that provides sequential, iterated access to its elements.
init()
init(rawValue: RawValue)
static var all: BitMaskOptionSet<Element> { get }
var count: Int { get }
var isEmpty: Bool { get }
var rawValue: RawValue { get }
func contains(_ element: Element) -> Bool
mutating func insert(_ element: Element)
@discardableResult mutating func remove(_ element: Element) -> Bool
mutating func removeAll()
typealias RawValue = Element.RawValue