Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
dart::InstanceKeyValueTrait Class Reference

#include <precompiler.h>

Public Types

typedef const InstanceKey
 
typedef const InstanceValue
 
typedef const InstancePair
 

Static Public Member Functions

static Key KeyOf (Pair kv)
 
static Value ValueOf (Pair kv)
 
static uword Hash (Key key)
 
static bool IsKeyEqual (Pair pair, Key key)
 

Detailed Description

Definition at line 222 of file precompiler.h.

Member Typedef Documentation

◆ Key

Definition at line 225 of file precompiler.h.

◆ Pair

Definition at line 227 of file precompiler.h.

◆ Value

Definition at line 226 of file precompiler.h.

Member Function Documentation

◆ Hash()

static uword dart::InstanceKeyValueTrait::Hash ( Key  key)
inlinestatic

Definition at line 233 of file precompiler.h.

233{ return key->CanonicalizeHash(); }

◆ IsKeyEqual()

static bool dart::InstanceKeyValueTrait::IsKeyEqual ( Pair  pair,
Key  key 
)
inlinestatic

Definition at line 235 of file precompiler.h.

235 {
236 return pair->ptr() == key->ptr();
237 }

◆ KeyOf()

static Key dart::InstanceKeyValueTrait::KeyOf ( Pair  kv)
inlinestatic

Definition at line 229 of file precompiler.h.

229{ return kv; }

◆ ValueOf()

static Value dart::InstanceKeyValueTrait::ValueOf ( Pair  kv)
inlinestatic

Definition at line 231 of file precompiler.h.

231{ return kv; }

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