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

#include <precompiler.h>

Public Types

typedef const TypeParameterKey
 
typedef const TypeParameterValue
 
typedef const TypeParameterPair
 

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 147 of file precompiler.h.

Member Typedef Documentation

◆ Key

Definition at line 150 of file precompiler.h.

◆ Pair

Definition at line 152 of file precompiler.h.

◆ Value

Definition at line 151 of file precompiler.h.

Member Function Documentation

◆ Hash()

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

Definition at line 158 of file precompiler.h.

158{ return key->Hash(); }

◆ IsKeyEqual()

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

Definition at line 160 of file precompiler.h.

160 {
161 return pair->ptr() == key->ptr();
162 }

◆ KeyOf()

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

Definition at line 154 of file precompiler.h.

154{ return kv; }

◆ ValueOf()

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

Definition at line 156 of file precompiler.h.

156{ return kv; }

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