SwiftstructCollectionsInternal

struct CollectionsInternal.OrderedSet

Structure

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

Members 168

  1. varstatic var _isConsistencyCheckingEnabled: Bool { get }
  2. fieldvar __storage: CollectionsInternal._HashTable.Storage?+0x0
  3. fieldvar _elements: ContiguousArray<A>+0x8
  4. func_append(A) -> (inserted: Bool, index: Int)
  5. func_appendNew(_: A, in: CollectionsInternal._HashTable.Bucket) -> ()
  6. func_appendNew(A) -> ()
  7. func_bucket(for: Int) -> CollectionsInternal._HashTable.Bucket
  8. func_checkInvariants() -> ()
  9. func_copyContents(initializing: UnsafeMutableBufferPointer<A>) -> (IndexingIterator<CollectionsInternal.OrderedSet<A>>, Int)
  10. func_copyToContiguousArray() -> ContiguousArray<A>
  11. func_customContainsEquatableElement(A) -> Bool?
  12. func_customIndexOfEquatableElement(A) -> Int??
  13. func_customLastIndexOfEquatableElement(A) -> Int??
  14. func_ensureUnique() -> ()
  15. func_extractSubset(using: CollectionsInternal._UnsafeBitSet, count: Int?, extraCapacity: Int) -> CollectionsInternal.OrderedSet<A>
  16. func_failEarlyRangeCheck(_: Int, bounds: ClosedRange<Int>) -> ()
  17. func_failEarlyRangeCheck(_: Int, bounds: Range<Int>) -> ()
  18. func_failEarlyRangeCheck(_: Range<Int>, bounds: Range<Int>) -> ()
  19. func_find(A) -> (index: Int?, bucket: CollectionsInternal._HashTable.Bucket)
  20. func_find_inlined(A) -> (index: Int?, bucket: CollectionsInternal._HashTable.Bucket)
  21. func_halfStablePartition<A>(values: UnsafeMutableBufferPointer<A1>, by: ((key: A, value: A1)) throws -> Bool) throws -> Int
  22. func_insertNew(_: A, at: Int, in: CollectionsInternal._HashTable.Bucket) -> ()
  23. func_isSuperset<A where A == A1.Element, A1: Sequence>(of: A1) -> Bool
  24. func_isUnique() -> Bool
  25. func_partition(by: (A) throws -> Bool, callback: (Int, Int) -> ()) throws -> Int
  26. func_partition<A>(values: UnsafeMutableBufferPointer<A1>, by: ((key: A, value: A1)) throws -> Bool) throws -> Int
  27. func_regenerateExistingHashTable() -> ()
  28. func_regenerateHashTable(scale: Int, reservedScale: Int) -> ()
  29. func_regenerateHashTable() -> ()
  30. func_removeExistingMember(at: Int, in: CollectionsInternal._HashTable.Bucket) -> A
  31. func_reserveCapacity(_: Int, persistent: Bool) -> ()
  32. func_subtracting<A where A == A1.Element, A1: Sequence>(A1) -> CollectionsInternal.OrderedSet<A>
  33. funcappend<A where A == A1.Element, A1: Sequence>(contentsOf: A1) -> ()
  34. funcappend(A) -> (inserted: Bool, index: Int)
  35. funcappending<A where A == A1.Element, A1: Sequence>(contentsOf: __owned A1) -> CollectionsInternal.OrderedSet<A>
  36. funcapplying(CollectionDifference<A>) -> CollectionsInternal.OrderedSet<A>?
  37. funccontains(A) -> Bool
  38. funcdifference(from: CollectionsInternal.OrderedSet<A>) -> CollectionDifference<A>
  39. funcdistance(from: Int, to: Int) -> Int
  40. funcCollectionsInternal.OrderedSet< where A: Encodable>.encode(to: Encoder) throws -> ()
  41. funcfilter((A) throws -> Bool) throws -> CollectionsInternal.OrderedSet<A>
  42. funcfirstIndex(of: A) -> Int?
  43. funcformIndex(after: inout Int) -> ()
  44. funcformIndex(before: inout Int) -> ()
  45. funcformIntersection(CollectionsInternal.OrderedSet<A>.UnorderedView) -> ()
  46. funcformIntersection(CollectionsInternal.OrderedSet<A>) -> ()
  47. funcformIntersection<A where A == A1.Element, A1: Sequence>(A1) -> ()
  48. funcformSymmetricDifference(__owned CollectionsInternal.OrderedSet<A>.UnorderedView) -> ()
  49. funcformSymmetricDifference(__owned CollectionsInternal.OrderedSet<A>) -> ()
  50. funcformSymmetricDifference<A where A == A1.Element, A1: Sequence>(__owned A1) -> ()
  51. funcformUnion(__owned CollectionsInternal.OrderedSet<A>.UnorderedView) -> ()
  52. funcformUnion(__owned CollectionsInternal.OrderedSet<A>) -> ()
  53. funcformUnion<A where A == A1.Element, A1: Sequence>(__owned A1) -> ()
  54. funcindex(after: Int) -> Int
  55. funcindex(before: Int) -> Int
  56. funcindex(_: Int, offsetBy: Int, limitedBy: Int) -> Int?
  57. funcindex(_: Int, offsetBy: Int) -> Int
  58. funcinsert(_: A, at: Int) -> (inserted: Bool, index: Int)
  59. funcintersection(CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>
  60. funcintersection(CollectionsInternal.OrderedSet<A>) -> CollectionsInternal.OrderedSet<A>
  61. funcintersection<A where A == A1.Element, A1: Sequence>(A1) -> CollectionsInternal.OrderedSet<A>
  62. funcisDisjoint(with: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Bool
  63. funcisDisjoint(with: CollectionsInternal.OrderedSet<A>) -> Bool
  64. funcisDisjoint(with: Set<A>) -> Bool
  65. funcisDisjoint<A where A == A1.Element, A1: Sequence>(with: A1) -> Bool
  66. funcisEqualSet(to: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Bool
  67. funcisEqualSet(to: CollectionsInternal.OrderedSet<A>) -> Bool
  68. funcisEqualSet<A where A == A1.Element, A1: Sequence>(to: A1) -> Bool
  69. funcisStrictSubset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Bool
  70. funcisStrictSubset(of: CollectionsInternal.OrderedSet<A>) -> Bool
  71. funcisStrictSubset(of: Set<A>) -> Bool
  72. funcisStrictSubset<A where A == A1.Element, A1: Sequence>(of: A1) -> Bool
  73. funcisStrictSuperset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Bool
  74. funcisStrictSuperset(of: CollectionsInternal.OrderedSet<A>) -> Bool
  75. funcisStrictSuperset(of: Set<A>) -> Bool
  76. funcisStrictSuperset<A where A == A1.Element, A1: Sequence>(of: A1) -> Bool
  77. funcisSubset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Bool
  78. funcisSubset(of: CollectionsInternal.OrderedSet<A>) -> Bool
  79. funcisSubset(of: Set<A>) -> Bool
  80. funcisSubset<A where A == A1.Element, A1: Sequence>(of: A1) -> Bool
  81. funcisSuperset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Bool
  82. funcisSuperset(of: CollectionsInternal.OrderedSet<A>) -> Bool
  83. funcisSuperset(of: Set<A>) -> Bool
  84. funcisSuperset<A where A == A1.Element, A1: Sequence>(of: A1) -> Bool
  85. funclastIndex(of: A) -> Int?
  86. funcpartition(by: (A) throws -> Bool) throws -> Int
  87. funcremove(at: Int) -> A
  88. funcremove(A) -> A?
  89. funcremoveAll(keepingCapacity: Bool) -> ()
  90. funcremoveAll(where: (A) throws -> Bool) throws -> ()
  91. funcremoveFirst() -> A
  92. funcremoveFirst(Int) -> ()
  93. funcremoveLast() -> A
  94. funcremoveLast(Int) -> ()
  95. funcremoveSubrange(Range<Int>) -> ()
  96. funcremoveSubrange<A where A1: RangeExpression, A1.Bound == Int>(A1) -> ()
  97. funcreserveCapacity(Int) -> ()
  98. funcreverse() -> ()
  99. funcshuffle<A where A1: RandomNumberGenerator>(using: inout A1) -> ()
  100. funcshuffle() -> ()
  101. funcsort(by: (A, A) throws -> Bool) throws -> ()
  102. funcCollectionsInternal.OrderedSet< where A: Comparable>.sort() -> ()
  103. funcsubtract(CollectionsInternal.OrderedSet<A>.UnorderedView) -> ()
  104. funcsubtract(CollectionsInternal.OrderedSet<A>) -> ()
  105. funcsubtract<A where A == A1.Element, A1: Sequence>(A1) -> ()
  106. funcsubtracting(CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>
  107. funcsubtracting(CollectionsInternal.OrderedSet<A>) -> CollectionsInternal.OrderedSet<A>
  108. funcsubtracting<A where A == A1.Element, A1: Sequence>(A1) -> CollectionsInternal.OrderedSet<A>
  109. funcswapAt(Int, Int) -> ()
  110. funcsymmetricDifference(__owned CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>
  111. funcsymmetricDifference(__owned CollectionsInternal.OrderedSet<A>) -> CollectionsInternal.OrderedSet<A>
  112. funcsymmetricDifference<A where A == A1.Element, A1: Sequence>(__owned A1) -> CollectionsInternal.OrderedSet<A>
  113. funcunion(__owned CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>
  114. funcunion(__owned CollectionsInternal.OrderedSet<A>) -> CollectionsInternal.OrderedSet<A>
  115. funcunion<A where A == A1.Element, A1: Sequence>(__owned A1) -> CollectionsInternal.OrderedSet<A>
  116. funcupdate(_: A, at: Int) -> A
  117. funcupdateOrAppend(A) -> A?
  118. funcupdateOrInsert(_: A, at: Int) -> (originalMember: A?, index: Int)
  119. funcwithContiguousStorageIfAvailable<A>((UnsafeBufferPointer<A>) throws -> A1) throws -> A1?
  120. initinit(arrayLiteral: A...) -> CollectionsInternal.OrderedSet<A>
  121. initinit(_uniqueElements: ContiguousArray<A>, _: CollectionsInternal._HashTable?) -> CollectionsInternal.OrderedSet<A>
  122. initinit(minimumCapacity: Int, persistent: Bool) -> CollectionsInternal.OrderedSet<A>
  123. initinit<A where A == A1.Element, A1: Sequence>(uncheckedUniqueElements: A1) -> CollectionsInternal.OrderedSet<A>
  124. initinit<A where A == A1.Element, A1: Sequence>(_scale: Int, bias: Int, contents: A1) -> CollectionsInternal.OrderedSet<A>
  125. initinit() -> CollectionsInternal.OrderedSet<A>
  126. initinit(CollectionsInternal.OrderedSet<A>.SubSequence) -> CollectionsInternal.OrderedSet<A>
  127. initinit(CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>
  128. initinit(CollectionsInternal.OrderedSet<A>) -> CollectionsInternal.OrderedSet<A>
  129. initinit<A>([A : A1].Keys) -> CollectionsInternal.OrderedSet<A>
  130. initinit(Set<A>) -> CollectionsInternal.OrderedSet<A>
  131. initinit<A where A == A1.Element, A1: Sequence>(A1) -> CollectionsInternal.OrderedSet<A>
  132. initinit<A where A == A1.Element, A1: RandomAccessCollection>(A1) -> CollectionsInternal.OrderedSet<A>
  133. initCollectionsInternal.OrderedSet< where A: Decodable>.init(from: Decoder) throws -> CollectionsInternal.OrderedSet<A>
  134. subscriptsubscript.getter : (Range<Int>) -> CollectionsInternal.OrderedSet<A>.SubSequence
  135. subscriptsubscript.getter : (Int) -> A
  136. typealiastypealias ArrayLiteralElement = A
  137. typealiastypealias Element = A
  138. typealiastypealias Element = A
  139. typealiastypealias Element = A
  140. typealiastypealias Element = A
  141. typealiastypealias Index = Swift.Int
  142. typealiastypealias Index = Swift.Int
  143. typealiastypealias Index = Swift.Int
  144. typealiastypealias Indices = Swift.Range<Swift.Int>
  145. typealiastypealias Indices = Swift.Range<Swift.Int>
  146. typealiastypealias Indices = Swift.Range<Swift.Int>
  147. typealiastypealias Iterator = Swift.IndexingIterator<CollectionsInternal.OrderedSet<A>>
  148. typealiastypealias Iterator = Swift.IndexingIterator<CollectionsInternal.OrderedSet<A>>
  149. typealiastypealias SubSequence = CollectionsInternal.OrderedSet<A>.SubSequence
  150. typealiastypealias SubSequence = CollectionsInternal.OrderedSet<A>.SubSequence
  151. typealiastypealias SubSequence = CollectionsInternal.OrderedSet<A>.SubSequence
  152. varvar __unstable: CollectionsInternal.OrderedSet<A>._UnstableInternals { get set }
  153. varvar _bias: Int { get }
  154. varvar _capacity: Int { get }
  155. varvar _minimumCapacity: Int { get }
  156. varvar _reservedScale: Int { get }
  157. varvar _scale: Int { get }
  158. varvar _table: CollectionsInternal._HashTable? { get set }
  159. varvar count: Int { get }
  160. varvar customMirror: Mirror { get }
  161. varvar debugDescription: String { get }
  162. varvar description: String { get }
  163. varvar elements: [A] { get set }
  164. varvar endIndex: Int { get }
  165. varvar indices: Range<Int> { get }
  166. varvar isEmpty: Bool { get }
  167. varvar startIndex: Int { get }
  168. varvar unordered: CollectionsInternal.OrderedSet<A>.UnorderedView { get set }
struct OrderedSet<A> where A: Swift.Hashable {
    struct UnorderedView {
        var _base: CollectionsInternal.OrderedSet<A>

        init(arrayLiteral: A...)
        init(_base: CollectionsInternal.OrderedSet<A>)
        init()
        init(_: CollectionsInternal.OrderedSet<A>.UnorderedView)
        init<A1>(_: [A : A1].Keys)
        init(_: Swift.Set<A>)
        init<A1>(_: A1) where A == A1.Element, A1: Swift.Sequence

        var customMirror: Swift.Mirror {
            get
        }
        var debugDescription: Swift.String {
            get
        }
        var description: Swift.String {
            get
        }

        func isEqualSet(to: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
        func isEqualSet<A1>(to: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
        func isDisjoint(with: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
        func isDisjoint(with: Swift.Set<A>) -> Swift.Bool
        func isDisjoint<A1>(with: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
        func isSuperset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
        func isSuperset(of: Swift.Set<A>) -> Swift.Bool
        func isSuperset<A1>(of: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
        func subtracting(_: CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>.UnorderedView
        func subtracting<A1>(_: A1) -> CollectionsInternal.OrderedSet<A>.UnorderedView where A == A1.Element, A1: Swift.Sequence
        func intersection(_: CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>.UnorderedView
        func intersection<A1>(_: A1) -> CollectionsInternal.OrderedSet<A>.UnorderedView where A == A1.Element, A1: Swift.Sequence
        func isStrictSubset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
        func isStrictSubset(of: Swift.Set<A>) -> Swift.Bool
        func isStrictSubset<A1>(of: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
        func formIntersection(_: CollectionsInternal.OrderedSet<A>.UnorderedView)
        func formIntersection<A1>(_: A1) where A == A1.Element, A1: Swift.Sequence
        func isStrictSuperset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
        func isStrictSuperset(of: Swift.Set<A>) -> Swift.Bool
        func isStrictSuperset<A1>(of: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
        func symmetricDifference(_: consuming CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>.UnorderedView
        func symmetricDifference<A1>(_: consuming A1) -> CollectionsInternal.OrderedSet<A>.UnorderedView where A == A1.Element, A1: Swift.Sequence
        func formSymmetricDifference(_: consuming CollectionsInternal.OrderedSet<A>.UnorderedView)
        func formSymmetricDifference<A1>(_: consuming A1) where A == A1.Element, A1: Swift.Sequence
        func union(_: consuming CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>.UnorderedView
        func union<A1>(_: consuming A1) -> CollectionsInternal.OrderedSet<A>.UnorderedView where A == A1.Element, A1: Swift.Sequence
        func insert(_: consuming A) -> (inserted: Swift.Bool, memberAfterInsert: A)
        func remove(_: A) -> A?
        func update(with: consuming A) -> A?
        func contains(_: A) -> Swift.Bool
        func isSubset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
        func isSubset(of: Swift.Set<A>) -> Swift.Bool
        func isSubset<A1>(of: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
        func subtract(_: CollectionsInternal.OrderedSet<A>.UnorderedView)
        func subtract<A1>(_: A1) where A == A1.Element, A1: Swift.Sequence
        func formUnion(_: consuming CollectionsInternal.OrderedSet<A>.UnorderedView)
        func formUnion<A1>(_: consuming A1) where A == A1.Element, A1: Swift.Sequence
    }
    struct _UnstableInternals {
        var base: CollectionsInternal.OrderedSet<A>

        init(_: CollectionsInternal.OrderedSet<A>)

        var bias: Swift.Int {
            get
        }
        var capacity: Swift.Int {
            get
        }
        var hashTableContents: [Swift.Int?] {
            get
        }
        var minimumCapacity: Swift.Int {
            get
        }
        var reservedScale: Swift.Int {
            get
        }
        var scale: Swift.Int {
            get
        }

        static var isConsistencyCheckingEnabled: Swift.Bool {
            get
        }
    }
    struct SubSequence {
        var _base: CollectionsInternal.OrderedSet<A>
        var _bounds: Swift.Range<Swift.Int>

        init(_base: CollectionsInternal.OrderedSet<A>, bounds: Swift.Range<Swift.Int>)

        var _slice: Swift.ArraySlice<A> {
            get
        }
        var count: Swift.Int {
            get
        }
        var debugDescription: Swift.String {
            get
        }
        var description: Swift.String {
            get
        }
        var endIndex: Swift.Int {
            get
        }
        var indices: Swift.Range<Swift.Int> {
            get
        }
        var isEmpty: Swift.Bool {
            get
        }
        var startIndex: Swift.Int {
            get
        }

        func _copyContents(initializing: Swift.UnsafeMutableBufferPointer<A>) -> (Swift.IndexingIterator<CollectionsInternal.OrderedSet<A>.SubSequence>, Swift.Int)
        func _failEarlyRangeCheck(_: Swift.Int, bounds: Swift.ClosedRange<Swift.Int>)
        func _failEarlyRangeCheck(_: Swift.Int, bounds: Swift.Range<Swift.Int>)
        func _failEarlyRangeCheck(_: Swift.Range<Swift.Int>, bounds: Swift.Range<Swift.Int>)
        func _copyToContiguousArray() -> Swift.ContiguousArray<A>
        func _customIndexOfEquatableElement(_: A) -> Swift.Int??
        func _customContainsEquatableElement(_: A) -> Swift.Bool?
        func withContiguousStorageIfAvailable<A1>(_: (_: Swift.UnsafeBufferPointer<A>) throws -> A1) throws -> A1?
        func _customLastIndexOfEquatableElement(_: A) -> Swift.Int??
        func index(after: Swift.Int) -> Swift.Int
        func index(before: Swift.Int) -> Swift.Int
        func index(_: Swift.Int, offsetBy: Swift.Int, limitedBy: Swift.Int) -> Swift.Int?
        func index(_: Swift.Int, offsetBy: Swift.Int) -> Swift.Int
        func _index(of: A) -> Swift.Int?
        func distance(from: Swift.Int, to: Swift.Int) -> Swift.Int
        func formIndex(after: inout Swift.Int)
        func formIndex(before: inout Swift.Int)

        subscript(_: Swift.Range<Swift.Int>) -> CollectionsInternal.OrderedSet<A>.SubSequence {
            get
        }
        subscript(_: Swift.Int) -> A {
            get
        }
    }
    var __storage: CollectionsInternal._HashTable.Storage?
    var _elements: Swift.ContiguousArray<A>

    init(arrayLiteral: A...)
    init(_uniqueElements: Swift.ContiguousArray<A>, _: CollectionsInternal._HashTable?)
    init(minimumCapacity: Swift.Int, persistent: Swift.Bool)
    init<A1>(uncheckedUniqueElements: A1) where A == A1.Element, A1: Swift.Sequence
    init<A1>(_scale: Swift.Int, bias: Swift.Int, contents: A1) where A == A1.Element, A1: Swift.Sequence
    init()
    init(_: CollectionsInternal.OrderedSet<A>.SubSequence)
    init(_: CollectionsInternal.OrderedSet<A>.UnorderedView)
    init(_: CollectionsInternal.OrderedSet<A>)
    init<A1>(_: [A : A1].Keys)
    init(_: Swift.Set<A>)
    init<A1>(_: A1) where A == A1.Element, A1: Swift.Sequence
    init<A1>(_: A1) where A == A1.Element, A1: Swift.RandomAccessCollection

    var __unstable: CollectionsInternal.OrderedSet<A>._UnstableInternals {
        get
        set
    }
    var _bias: Swift.Int {
        get
    }
    var _capacity: Swift.Int {
        get
    }
    var _minimumCapacity: Swift.Int {
        get
    }
    var _reservedScale: Swift.Int {
        get
    }
    var _scale: Swift.Int {
        get
    }
    var _table: CollectionsInternal._HashTable? {
        get
        set
    }
    var count: Swift.Int {
        get
    }
    var customMirror: Swift.Mirror {
        get
    }
    var debugDescription: Swift.String {
        get
    }
    var description: Swift.String {
        get
    }
    var elements: [A] {
        get
        set
    }
    var endIndex: Swift.Int {
        get
    }
    var indices: Swift.Range<Swift.Int> {
        get
    }
    var isEmpty: Swift.Bool {
        get
    }
    var startIndex: Swift.Int {
        get
    }
    var unordered: CollectionsInternal.OrderedSet<A>.UnorderedView {
        get
        set
    }

    func isEqualSet(to: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
    func isEqualSet(to: CollectionsInternal.OrderedSet<A>) -> Swift.Bool
    func isEqualSet<A1>(to: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
    func _appendNew(_: A, in: CollectionsInternal._HashTable.Bucket)
    func _appendNew(_: A)
    func _insertNew(_: A, at: Swift.Int, in: CollectionsInternal._HashTable.Bucket)
    func _partition(by: (_: A) throws -> Swift.Bool, callback: (Swift.Int, Swift.Int) -> ()) throws -> Swift.Int
    func _partition<A1>(values: Swift.UnsafeMutableBufferPointer<A1>, by: ((key: A, value: A1)) throws -> Swift.Bool) throws -> Swift.Int
    func difference(from: CollectionsInternal.OrderedSet<A>) -> Swift.CollectionDifference<A>
    func firstIndex(of: A) -> Swift.Int?
    func isDisjoint(with: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
    func isDisjoint(with: CollectionsInternal.OrderedSet<A>) -> Swift.Bool
    func isDisjoint(with: Swift.Set<A>) -> Swift.Bool
    func isDisjoint<A1>(with: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
    func isSuperset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
    func isSuperset(of: CollectionsInternal.OrderedSet<A>) -> Swift.Bool
    func isSuperset(of: Swift.Set<A>) -> Swift.Bool
    func isSuperset<A1>(of: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
    func removeLast() -> A
    func removeLast(_: Swift.Int)
    func _isSuperset<A1>(of: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
    func removeFirst() -> A
    func removeFirst(_: Swift.Int)
    func subtracting(_: CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>
    func subtracting(_: CollectionsInternal.OrderedSet<A>) -> CollectionsInternal.OrderedSet<A>
    func subtracting<A1>(_: A1) -> CollectionsInternal.OrderedSet<A> where A == A1.Element, A1: Swift.Sequence
    func _subtracting<A1>(_: A1) -> CollectionsInternal.OrderedSet<A> where A == A1.Element, A1: Swift.Sequence
    func intersection(_: CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>
    func intersection(_: CollectionsInternal.OrderedSet<A>) -> CollectionsInternal.OrderedSet<A>
    func intersection<A1>(_: A1) -> CollectionsInternal.OrderedSet<A> where A == A1.Element, A1: Swift.Sequence
    func _copyContents(initializing: Swift.UnsafeMutableBufferPointer<A>) -> (Swift.IndexingIterator<CollectionsInternal.OrderedSet<A>>, Swift.Int)
    func _ensureUnique()
    func _find_inlined(_: A) -> (index: Swift.Int?, bucket: CollectionsInternal._HashTable.Bucket)
    func _extractSubset(using: CollectionsInternal._UnsafeBitSet, count: Swift.Int?, extraCapacity: Swift.Int) -> CollectionsInternal.OrderedSet<A>
    func isStrictSubset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
    func isStrictSubset(of: CollectionsInternal.OrderedSet<A>) -> Swift.Bool
    func isStrictSubset(of: Swift.Set<A>) -> Swift.Bool
    func isStrictSubset<A1>(of: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
    func removeSubrange(_: Swift.Range<Swift.Int>)
    func removeSubrange<A1>(_: A1) where A1: Swift.RangeExpression, A1.Bound == Swift.Int
    func updateOrAppend(_: A) -> A?
    func updateOrInsert(_: A, at: Swift.Int) -> (originalMember: A?, index: Swift.Int)
    func reserveCapacity(_: Swift.Int)
    func _checkInvariants()
    func _reserveCapacity(_: Swift.Int, persistent: Swift.Bool)
    func formIntersection(_: CollectionsInternal.OrderedSet<A>.UnorderedView)
    func formIntersection(_: CollectionsInternal.OrderedSet<A>)
    func formIntersection<A1>(_: A1) where A == A1.Element, A1: Swift.Sequence
    func isStrictSuperset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
    func isStrictSuperset(of: CollectionsInternal.OrderedSet<A>) -> Swift.Bool
    func isStrictSuperset(of: Swift.Set<A>) -> Swift.Bool
    func isStrictSuperset<A1>(of: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
    func symmetricDifference(_: consuming CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>
    func symmetricDifference(_: consuming CollectionsInternal.OrderedSet<A>) -> CollectionsInternal.OrderedSet<A>
    func symmetricDifference<A1>(_: consuming A1) -> CollectionsInternal.OrderedSet<A> where A == A1.Element, A1: Swift.Sequence
    func _failEarlyRangeCheck(_: Swift.Int, bounds: Swift.ClosedRange<Swift.Int>)
    func _failEarlyRangeCheck(_: Swift.Int, bounds: Swift.Range<Swift.Int>)
    func _failEarlyRangeCheck(_: Swift.Range<Swift.Int>, bounds: Swift.Range<Swift.Int>)
    func _halfStablePartition<A1>(values: Swift.UnsafeMutableBufferPointer<A1>, by: ((key: A, value: A1)) throws -> Swift.Bool) throws -> Swift.Int
    func _regenerateHashTable(scale: Swift.Int, reservedScale: Swift.Int)
    func _regenerateHashTable()
    func _removeExistingMember(at: Swift.Int, in: CollectionsInternal._HashTable.Bucket) -> A
    func _copyToContiguousArray() -> Swift.ContiguousArray<A>
    func formSymmetricDifference(_: consuming CollectionsInternal.OrderedSet<A>.UnorderedView)
    func formSymmetricDifference(_: consuming CollectionsInternal.OrderedSet<A>)
    func formSymmetricDifference<A1>(_: consuming A1) where A == A1.Element, A1: Swift.Sequence
    func _regenerateExistingHashTable()
    func _customIndexOfEquatableElement(_: A) -> Swift.Int??
    func _customContainsEquatableElement(_: A) -> Swift.Bool?
    func withContiguousStorageIfAvailable<A1>(_: (_: Swift.UnsafeBufferPointer<A>) throws -> A1) throws -> A1?
    func _customLastIndexOfEquatableElement(_: A) -> Swift.Int??
    func sort(by: (A, A) throws -> Swift.Bool) throws
    func _find(_: A) -> (index: Swift.Int?, bucket: CollectionsInternal._HashTable.Bucket)
    func index(after: Swift.Int) -> Swift.Int
    func index(before: Swift.Int) -> Swift.Int
    func index(_: Swift.Int, offsetBy: Swift.Int, limitedBy: Swift.Int) -> Swift.Int?
    func index(_: Swift.Int, offsetBy: Swift.Int) -> Swift.Int
    func union(_: consuming CollectionsInternal.OrderedSet<A>.UnorderedView) -> CollectionsInternal.OrderedSet<A>
    func union(_: consuming CollectionsInternal.OrderedSet<A>) -> CollectionsInternal.OrderedSet<A>
    func union<A1>(_: consuming A1) -> CollectionsInternal.OrderedSet<A> where A == A1.Element, A1: Swift.Sequence
    func append<A1>(contentsOf: A1) where A == A1.Element, A1: Swift.Sequence
    func append(_: A) -> (inserted: Swift.Bool, index: Swift.Int)
    func filter(_: (_: A) throws -> Swift.Bool) throws -> CollectionsInternal.OrderedSet<A>
    func insert(_: A, at: Swift.Int) -> (inserted: Swift.Bool, index: Swift.Int)
    func remove(at: Swift.Int) -> A
    func remove(_: A) -> A?
    func swapAt(_: Swift.Int, _: Swift.Int)
    func update(_: A, at: Swift.Int) -> A
    func _append(_: A) -> (inserted: Swift.Bool, index: Swift.Int)
    func _bucket(for: Swift.Int) -> CollectionsInternal._HashTable.Bucket
    func reverse()
    func shuffle<A1>(using: inout A1) where A1: Swift.RandomNumberGenerator
    func shuffle()
    func applying(_: Swift.CollectionDifference<A>) -> CollectionsInternal.OrderedSet<A>?
    func contains(_: A) -> Swift.Bool
    func distance(from: Swift.Int, to: Swift.Int) -> Swift.Int
    func isSubset(of: CollectionsInternal.OrderedSet<A>.UnorderedView) -> Swift.Bool
    func isSubset(of: CollectionsInternal.OrderedSet<A>) -> Swift.Bool
    func isSubset(of: Swift.Set<A>) -> Swift.Bool
    func isSubset<A1>(of: A1) -> Swift.Bool where A == A1.Element, A1: Swift.Sequence
    func subtract(_: CollectionsInternal.OrderedSet<A>.UnorderedView)
    func subtract(_: CollectionsInternal.OrderedSet<A>)
    func subtract<A1>(_: A1) where A == A1.Element, A1: Swift.Sequence
    func _isUnique() -> Swift.Bool
    func appending<A1>(contentsOf: consuming A1) -> CollectionsInternal.OrderedSet<A> where A == A1.Element, A1: Swift.Sequence
    func formIndex(after: inout Swift.Int)
    func formIndex(before: inout Swift.Int)
    func formUnion(_: consuming CollectionsInternal.OrderedSet<A>.UnorderedView)
    func formUnion(_: consuming CollectionsInternal.OrderedSet<A>)
    func formUnion<A1>(_: consuming A1) where A == A1.Element, A1: Swift.Sequence
    func lastIndex(of: A) -> Swift.Int?
    func partition(by: (_: A) throws -> Swift.Bool) throws -> Swift.Int
    func removeAll(keepingCapacity: Swift.Bool)
    func removeAll(where: (_: A) throws -> Swift.Bool) throws

    subscript(_: Swift.Range<Swift.Int>) -> CollectionsInternal.OrderedSet<A>.SubSequence {
        get
    }
    subscript(_: Swift.Int) -> A {
        get
    }

    static var _isConsistencyCheckingEnabled: Swift.Bool {
        get
    }
}