dstruct.map

Undocumented in source.

Members

Functions

byKey
auto byKey(HashMap!(K, V) map)
auto byKey(const(HashMap!(K, V)) map)
auto byKey(immutable(HashMap!(K, V)) map)

Produce a range through the keys of a map.

byKeyValue
auto byKeyValue(HashMap!(K, V) map)
auto byKeyValue(const(HashMap!(K, V)) map)
auto byKeyValue(immutable(HashMap!(K, V)) map)

Produce a range through the items of a map. (A key-value pair)

byValue
auto byValue(HashMap!(K, V) map)
auto byValue(const(HashMap!(K, V)) map)
auto byValue(immutable(HashMap!(K, V)) map)

Produce a range through the values of a map.

Structs

Entry
struct Entry(K, V)

An item from a map.

HashMap
struct HashMap(K, V)

This struct implements a hashmap type, much like the standard associative array type.

KeyRange
struct KeyRange(K, V)

This is a range which runs through a series of keys in map.

KeyValueRange
struct KeyValueRange(K, V)

A range through a series of items in the map.

ValueRange
struct ValueRange(K, V)

This is a range which runs through a series of values in a map.

Templates

HashMapKeyType
template HashMapKeyType(T)
Undocumented in source.
HashMapValueType
template HashMapValueType(T)
Undocumented in source.

Meta