SwiftstructMusicUnderstanding

struct MusicUnderstanding._UnsafeBitSet

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 40

  1. funcstatic _withTemporaryBitSet(wordCount: Int, run: (inout MusicUnderstanding._UnsafeBitSet) throws -> ()) throws -> ()
  2. funcstatic withTemporaryBitSet<A>(capacity: Int, run: (inout MusicUnderstanding._UnsafeBitSet) throws -> A) throws -> A
  3. funcstatic withTemporaryBitSet<A>(wordCount: Int, run: (inout MusicUnderstanding._UnsafeBitSet) throws -> A) throws -> A
  4. funcstatic wordCount(forCapacity: UInt) -> Int
  5. fieldlet _words: UnsafeBufferPointer<MusicUnderstanding._UnsafeBitSet._Word>+0x0
  6. funccontains(UInt) -> Bool
  7. funcdistance(from: MusicUnderstanding._UnsafeBitSet.Index, to: MusicUnderstanding._UnsafeBitSet.Index) -> Int
  8. funcensureMutable() -> ()
  9. funcindex(after: MusicUnderstanding._UnsafeBitSet.Index) -> MusicUnderstanding._UnsafeBitSet.Index
  10. funcindex(before: MusicUnderstanding._UnsafeBitSet.Index) -> MusicUnderstanding._UnsafeBitSet.Index
  11. funcindex(_: MusicUnderstanding._UnsafeBitSet.Index, offsetBy: Int, limitedBy: MusicUnderstanding._UnsafeBitSet.Index) -> MusicUnderstanding._UnsafeBitSet.Index?
  12. funcindex(_: MusicUnderstanding._UnsafeBitSet.Index, offsetBy: Int) -> MusicUnderstanding._UnsafeBitSet.Index
  13. funcinsert(UInt) -> Bool
  14. funcinsertAll(upTo: UInt) -> ()
  15. funcisWithinBounds(UInt) -> Bool
  16. funcmakeIterator() -> MusicUnderstanding._UnsafeBitSet.Iterator
  17. funcremove(UInt) -> Bool
  18. funcupdate(_: UInt, to: Bool) -> Bool
  19. initinit(words: UnsafeBufferPointer<MusicUnderstanding._UnsafeBitSet._Word>, mutable: Bool) -> MusicUnderstanding._UnsafeBitSet
  20. initinit(words: UnsafeMutableBufferPointer<MusicUnderstanding._UnsafeBitSet._Word>, mutable: Bool) -> MusicUnderstanding._UnsafeBitSet
  21. subscriptsubscript.getter : (MusicUnderstanding._UnsafeBitSet.Index) -> UInt
  22. typealiastypealias Element = Swift.UInt
  23. typealiastypealias Element = Swift.UInt
  24. typealiastypealias Element = Swift.UInt
  25. typealiastypealias Index = Index
  26. typealiastypealias Index = Index
  27. typealiastypealias Indices = Swift.DefaultIndices<MusicUnderstanding._UnsafeBitSet>
  28. typealiastypealias Indices = Swift.DefaultIndices<MusicUnderstanding._UnsafeBitSet>
  29. typealiastypealias Iterator = Iterator
  30. typealiastypealias Iterator = Iterator
  31. typealiastypealias SubSequence = Swift.Slice<MusicUnderstanding._UnsafeBitSet>
  32. typealiastypealias SubSequence = Swift.Slice<MusicUnderstanding._UnsafeBitSet>
  33. varvar _mutableWords: UnsafeMutableBufferPointer<MusicUnderstanding._UnsafeBitSet._Word> { get }
  34. varvar capacity: UInt { get }
  35. varvar count: Int { get }
  36. varvar endIndex: MusicUnderstanding._UnsafeBitSet.Index { get }
  37. varvar isEmpty: Bool { get }
  38. varvar startIndex: MusicUnderstanding._UnsafeBitSet.Index { get }
  39. varvar underestimatedCount: Int { get }
  40. varvar wordCount: Int { get }
struct _UnsafeBitSet {
    struct _Word {
        var value: Swift.UInt

        init(from: Swift.UInt, to: Swift.UInt)
        init(upTo: Swift.UInt)
        init(_: Swift.UInt)

        var count: Swift.Int {
            get
        }
        var description: Swift.String {
            get
        }
        var firstMember: Swift.UInt? {
            get
        }
        var isEmpty: Swift.Bool {
            get
        }
        var isFull: Swift.Bool {
            get
        }
        var lastMember: Swift.UInt? {
            get
        }
        var underestimatedCount: Swift.Int {
            get
        }

        func complement() -> MusicUnderstanding._UnsafeBitSet._Word
        func shiftedDown(by: Swift.UInt) -> MusicUnderstanding._UnsafeBitSet._Word
        func subtracting(_: MusicUnderstanding._UnsafeBitSet._Word) -> MusicUnderstanding._UnsafeBitSet._Word
        func intersection(_: MusicUnderstanding._UnsafeBitSet._Word) -> MusicUnderstanding._UnsafeBitSet._Word
        func formComplement()
        func formIntersection(_: MusicUnderstanding._UnsafeBitSet._Word)
        func symmetricDifference(_: MusicUnderstanding._UnsafeBitSet._Word) -> MusicUnderstanding._UnsafeBitSet._Word
        func formSymmetricDifference(_: MusicUnderstanding._UnsafeBitSet._Word)
        func next() -> Swift.UInt?
        func union(_: MusicUnderstanding._UnsafeBitSet._Word) -> MusicUnderstanding._UnsafeBitSet._Word
        func insert(_: Swift.UInt) -> Swift.Bool
        func remove(_: Swift.UInt) -> Swift.Bool
        func update(_: Swift.UInt, to: Swift.Bool)
        func contains(_: Swift.UInt) -> Swift.Bool
        func subtract(_: MusicUnderstanding._UnsafeBitSet._Word)
        func formUnion(_: MusicUnderstanding._UnsafeBitSet._Word)
        func insertAll(upTo: Swift.UInt)
        func removeAll(from: Swift.UInt)
        func removeAll(upTo: Swift.UInt)
        func removeAll(through: Swift.UInt)
        func shiftedUp(by: Swift.UInt) -> MusicUnderstanding._UnsafeBitSet._Word

        static var allBits: MusicUnderstanding._UnsafeBitSet._Word {
            get
        }
        static var capacity: Swift.Int {
            get
        }
        static var empty: MusicUnderstanding._UnsafeBitSet._Word {
            get
        }

        static func wordCount(forBitCount: Swift.UInt) -> Swift.Int
    }
    struct Index {
        var value: Swift.UInt

        init(word: Swift.Int, bit: Swift.UInt)
        init(_: Swift.Int)
        init(_: Swift.UInt)

        var bit: Swift.UInt {
            get
        }
        var endSplit: (word: Swift.Int, bit: Swift.UInt) {
            get
        }
        var split: (word: Swift.Int, bit: Swift.UInt) {
            get
        }
        var word: Swift.Int {
            get
        }

        func _successor() -> MusicUnderstanding._UnsafeBitSet.Index
        func _predecessor() -> MusicUnderstanding._UnsafeBitSet.Index

        static func < (_: MusicUnderstanding._UnsafeBitSet.Index, _: MusicUnderstanding._UnsafeBitSet.Index) -> Swift.Bool
    }
    struct Iterator {
        let _bitset: MusicUnderstanding._UnsafeBitSet
        var _index: Swift.Int
        var _word: MusicUnderstanding._UnsafeBitSet._Word

        init(_: MusicUnderstanding._UnsafeBitSet)

        func next() -> Swift.UInt?
    }
    let _words: Swift.UnsafeBufferPointer<MusicUnderstanding._UnsafeBitSet._Word>

    init(words: Swift.UnsafeBufferPointer<MusicUnderstanding._UnsafeBitSet._Word>, mutable: Swift.Bool)
    init(words: Swift.UnsafeMutableBufferPointer<MusicUnderstanding._UnsafeBitSet._Word>, mutable: Swift.Bool)

    var _mutableWords: Swift.UnsafeMutableBufferPointer<MusicUnderstanding._UnsafeBitSet._Word> {
        get
    }
    var capacity: Swift.UInt {
        get
    }
    var count: Swift.Int {
        get
    }
    var endIndex: MusicUnderstanding._UnsafeBitSet.Index {
        get
    }
    var isEmpty: Swift.Bool {
        get
    }
    var startIndex: MusicUnderstanding._UnsafeBitSet.Index {
        get
    }
    var underestimatedCount: Swift.Int {
        get
    }
    var wordCount: Swift.Int {
        get
    }

    func makeIterator() -> MusicUnderstanding._UnsafeBitSet.Iterator
    func ensureMutable()
    func isWithinBounds(_: Swift.UInt) -> Swift.Bool
    func index(after: MusicUnderstanding._UnsafeBitSet.Index) -> MusicUnderstanding._UnsafeBitSet.Index
    func index(before: MusicUnderstanding._UnsafeBitSet.Index) -> MusicUnderstanding._UnsafeBitSet.Index
    func index(_: MusicUnderstanding._UnsafeBitSet.Index, offsetBy: Swift.Int, limitedBy: MusicUnderstanding._UnsafeBitSet.Index) -> MusicUnderstanding._UnsafeBitSet.Index?
    func index(_: MusicUnderstanding._UnsafeBitSet.Index, offsetBy: Swift.Int) -> MusicUnderstanding._UnsafeBitSet.Index
    func insert(_: Swift.UInt) -> Swift.Bool
    func remove(_: Swift.UInt) -> Swift.Bool
    func update(_: Swift.UInt, to: Swift.Bool) -> Swift.Bool
    func contains(_: Swift.UInt) -> Swift.Bool
    func distance(from: MusicUnderstanding._UnsafeBitSet.Index, to: MusicUnderstanding._UnsafeBitSet.Index) -> Swift.Int
    func insertAll(upTo: Swift.UInt)

    subscript(_: MusicUnderstanding._UnsafeBitSet.Index) -> Swift.UInt {
        get
    }

    static func withTemporaryBitSet<A>(capacity: Swift.Int, run: (_: inout MusicUnderstanding._UnsafeBitSet) throws -> A) throws -> A
    static func withTemporaryBitSet<A>(wordCount: Swift.Int, run: (_: inout MusicUnderstanding._UnsafeBitSet) throws -> A) throws -> A
    static func _withTemporaryBitSet(wordCount: Swift.Int, run: (_: inout MusicUnderstanding._UnsafeBitSet) throws -> ()) throws
    static func wordCount(forCapacity: Swift.UInt) -> Swift.Int
}