Pair

Pair a key and a value toghether.

  1. Pair!(ValueType, KeyType) pair(ValueType value, KeyType key)
  2. alias paired = pair
  3. struct Pair(ValueType, KeyType)
    @safe
    struct Pair (
    ValueType
    KeyType
    ) {}

Members

Variables

key
KeyType key;

Key in pair

value
ValueType value;

Value in pair

Return Value

Pair!(ValueType, KeyType) a pair of key => value.

Meta