Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
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 30 of file embedder_external_view.h.

Member Function Documentation

◆ operator()()

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

Definition at line 31 of file embedder_external_view.h.

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

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