template <typename T>

struct HashCacheItem

Defined at line 26 of file ../../src/ui/lib/escher/util/hash_cache.h

Base class for items that can be cached in a HashCache.

TODO(https://fxbug.dev/42098056): A fancier implementation would make these fields private.

Until then, we trust Escher clients to not frob them.

Public Methods

void set_hash (Hash hash)

Defined at line 28 of file ../../src/ui/lib/escher/util/hash_cache.h

void set_ring_index (size_t ring_index)

Defined at line 29 of file ../../src/ui/lib/escher/util/hash_cache.h

Hash hash ()

Defined at line 30 of file ../../src/ui/lib/escher/util/hash_cache.h

size_t ring_index ()

Defined at line 31 of file ../../src/ui/lib/escher/util/hash_cache.h