SwiftstructlibswiftCore

struct Swift.KeyValuePairs

Structure

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

Members 24

  1. fieldlet _elements: [(A, B)]+0x0
  2. initKeyValuePairs.init(dictionaryLiteral: (A, B)...) -> KeyValuePairs<A, B>
  3. subscriptKeyValuePairs.subscript.getter : (Int) -> (key: A, value: B)
  4. typealiastypealias Element = (key: A, value: B)
  5. typealiastypealias Element = (key: A, value: B)
  6. typealiastypealias Element = (key: A, value: B)
  7. typealiastypealias Element = (key: A, value: B)
  8. typealiastypealias Index = Swift.Int
  9. typealiastypealias Index = Swift.Int
  10. typealiastypealias Index = Swift.Int
  11. typealiastypealias Indices = Swift.Range<Swift.Int>
  12. typealiastypealias Indices = Swift.Range<Swift.Int>
  13. typealiastypealias Indices = Swift.Range<Swift.Int>
  14. typealiastypealias Iterator = Swift.IndexingIterator<Swift.KeyValuePairs<A, B>>
  15. typealiastypealias Iterator = Swift.IndexingIterator<Swift.KeyValuePairs<A, B>>
  16. typealiastypealias Key = A
  17. typealiastypealias SubSequence = Swift.Slice<Swift.KeyValuePairs<A, B>>
  18. typealiastypealias SubSequence = Swift.Slice<Swift.KeyValuePairs<A, B>>
  19. typealiastypealias SubSequence = Swift.Slice<Swift.KeyValuePairs<A, B>>
  20. typealiastypealias Value = B
  21. varvar debugDescription: String { get }
  22. varvar description: String { get }
  23. varvar endIndex: Int { get }
  24. varvar startIndex: Int { get }
struct KeyValuePairs<A, B> {
    let _elements: [(A, B)]

    init(dictionaryLiteral: (A, B)...)

    var debugDescription: Swift.String {
        get
    }
    var description: Swift.String {
        get
    }
    var endIndex: Swift.Int {
        get
    }
    var startIndex: Swift.Int {
        get
    }

    subscript(_: Swift.Int) -> (key: A, value: B) {
        get
    }
}