Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 443 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 445 of file SkTHash.h.

445{ 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 446 of file SkTHash.h.

446{ return HashK()(key); }

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