Flutter Impeller
std::equal_to< impeller::Glyph > Struct Reference

#include <glyph.h>

Public Member Functions

constexpr bool operator() (const impeller::Glyph &lhs, const impeller::Glyph &rhs) const
 

Detailed Description

Definition at line 48 of file glyph.h.

Member Function Documentation

◆ operator()()

constexpr bool std::equal_to< impeller::Glyph >::operator() ( const impeller::Glyph lhs,
const impeller::Glyph rhs 
) const
inlineconstexpr

Definition at line 49 of file glyph.h.

50  {
51  return lhs.index == rhs.index && lhs.type == rhs.type;
52  }
uint16_t index
Definition: glyph.h:22
Type type
Whether the glyph is a path or a bitmap.
Definition: glyph.h:27

References impeller::Glyph::index, and impeller::Glyph::type.


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