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 58 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 59 of file glyph.h.

60  {
61  return lhs.index == rhs.index && lhs.type == rhs.type;
62  }

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


The documentation for this struct was generated from the following file:
impeller::Glyph::index
uint16_t index
Definition: glyph.h:25
impeller::Glyph::type
Type type
Whether the glyph is a path or a bitmap.
Definition: glyph.h:30