template <typename T, class Enable = void>

struct HashMapHasher

Defined at line 22 of file ../../src/ui/lib/escher/util/hash_map.h

NOTE: if the hashed type is a struct, it must be tightly packed; if there are

any padding bytes, their value will be undefined, and therefore the resulting

hash value will also be undefined. All types that are hashed by

HashMapHasher should be added to hash_unittest.cc

TODO(https://fxbug.dev/42151390): Guarantee the padding assertion at compile time.

Public Methods

size_t operator() (const T & hashee)

Defined at line 23 of file ../../src/ui/lib/escher/util/hash_map.h