HashablePair

struct HashablePair<P1, P2> : Hashable where P1 : Hashable, P2 : Hashable

Packs two hashable items into a hashable struct, so that the struct can be used as a key in a dictionary

  • p1

    Undocumented

    Declaration

    Swift

    var p1: P1
  • p2

    Undocumented

    Declaration

    Swift

    var p2: P2
  • Undocumented

    Declaration

    Swift

    init(_ p1: P1, _ p2: P2)