Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
std::hash< impeller::ScaledFont > Struct Reference

#include <font_glyph_pair.h>

Public Member Functions

constexpr std::size_t operator() (const impeller::ScaledFont &sf) const
 

Detailed Description

Definition at line 70 of file font_glyph_pair.h.

Member Function Documentation

◆ operator()()

constexpr std::size_t std::hash< impeller::ScaledFont >::operator() ( const impeller::ScaledFont sf) const
inlineconstexpr

Definition at line 71 of file font_glyph_pair.h.

71 {
72 return fml::HashCombine(sf.font.GetHash(), sf.scale);
73 }
std::size_t GetHash() const override
Definition: font.cc:31
constexpr std::size_t HashCombine()
Definition: hash_combine.h:25

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