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

#include <font.h>

Public Member Functions

constexpr std::size_t operator() (const impeller::Font::Metrics &m) const
 

Detailed Description

Definition at line 94 of file font.h.

Member Function Documentation

◆ operator()()

constexpr std::size_t std::hash< impeller::Font::Metrics >::operator() ( const impeller::Font::Metrics m) const
inlineconstexpr

Definition at line 95 of file font.h.

95 {
96 return fml::HashCombine(m.point_size, m.skewX, m.scaleX);
97 }
constexpr std::size_t HashCombine()
Definition: hash_combine.h:25

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