dstruct.map

Members

Functions

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

Produce a range through the keys of a map.

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

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

byValue
auto byValue(auto ref HashMap!(K, V) map)
auto byValue(auto ref const(HashMap!(K, V)) map)
auto byValue(auto ref 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.

Meta