Flutter Engine
flutter::EmbedderExternalView::ViewIdentifier::Hash Struct Reference

#include <embedder_external_view.h>

Public Member Functions

constexpr std::size_t operator() (const ViewIdentifier &desc) const

Detailed Description

Definition at line 31 of file embedder_external_view.h.

Member Function Documentation

◆ operator()()

constexpr std::size_t flutter::EmbedderExternalView::ViewIdentifier::Hash::operator() ( const ViewIdentifier desc) const

Definition at line 32 of file embedder_external_view.h.

References fml::HashCombine(), and flutter::EmbedderExternalView::ViewIdentifier::platform_view_id.

32  {
33  if (!desc.platform_view_id.has_value()) {
34  return fml::HashCombine();
35  }
37  return fml::HashCombine(desc.platform_view_id.value());
38  }
constexpr std::size_t HashCombine()
Definition: hash_combine.h:25

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