StructhashMap.toHash

Dumb and easy toHash method.

Simply takes the key and passes it directly to fnv1a.

class StructhashMap(V, K)
override
hash_t
toHash
(
in K key
)

Parameters

key K

key of which the hash is desired

Return Value

Type: hash_t

hash of the key

Meta