SwiftstructSwiftUICore
struct SwiftUI.Pair
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 8
- func
static SwiftUI.Pair< where A: Equatable, B: Equatable>.== infix(SwiftUI.Pair<A, B>, SwiftUI.Pair<A, B>) -> Bool - field
var first: A - field
var second: B - func
SwiftUI.Pair< where A: Decodable, A: Encodable, B: Decodable, B: Encodable>.encode(to: Encoder) throws -> () - func
SwiftUI.Pair< where A: Hashable, B: Hashable>.hash(into: inout Hasher) -> () - init
SwiftUI.Pair< where A: Decodable, A: Encodable, B: Decodable, B: Encodable>.init(from: Decoder) throws -> SwiftUI.Pair<A, B> - init
init(A, B) -> SwiftUI.Pair<A, B> - var
var hashValue: Int { get }
Header
struct Pair<A, B> { enum CodingKeys { case first case second } var first: A var second: B init(_: A, _: B) }