Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
skia_private::THashMap< K, V, HashK >::Pair Struct Reference

#include <SkTHash.h>

Inheritance diagram for skia_private::THashMap< K, V, HashK >::Pair:

Static Public Member Functions

static const KGetKey (const Pair &p)
 
static auto Hash (const K &key)
 

Detailed Description

template<typename K, typename V, typename HashK = SkGoodHash>
struct skia_private::THashMap< K, V, HashK >::Pair

Definition at line 454 of file SkTHash.h.

Member Function Documentation

◆ GetKey()

template<typename K , typename V , typename HashK = SkGoodHash>
static const K & skia_private::THashMap< K, V, HashK >::Pair::GetKey ( const Pair p)
inlinestatic

Definition at line 456 of file SkTHash.h.

456{ return p.first; }

◆ Hash()

template<typename K , typename V , typename HashK = SkGoodHash>
static auto skia_private::THashMap< K, V, HashK >::Pair::Hash ( const K key)
inlinestatic

Definition at line 457 of file SkTHash.h.

457{ return HashK()(key); }

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