Flutter Engine
txt::FontCollection::FamilyKey::Hasher Struct Reference

#include <font_collection.h>

Public Member Functions

size_t operator() (const FamilyKey &key) const

Detailed Description

Definition at line 88 of file font_collection.h.

Member Function Documentation

◆ operator()()

size_t txt::FontCollection::FamilyKey::Hasher::operator() ( const FamilyKey &  key) const

Definition at line 57 of file font_collection.cc.

58  {
59  return std::hash<std::string>()(key.font_families) ^
60  std::hash<std::string>()(key.locale);
61 }

The documentation for this struct was generated from the following files: