Flutter Engine
The Flutter Engine
Public Types | Static Public Member Functions | List of all members
dart::FunctionTypeKeyValueTrait Class Reference

#include <precompiler.h>

Public Types

typedef const FunctionTypeKey
 
typedef const FunctionTypeValue
 
typedef const FunctionTypePair
 

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

Member Typedef Documentation

◆ Key

Definition at line 130 of file precompiler.h.

◆ Pair

Definition at line 132 of file precompiler.h.

◆ Value

Definition at line 131 of file precompiler.h.

Member Function Documentation

◆ Hash()

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

Definition at line 138 of file precompiler.h.

138{ return key->Hash(); }

◆ IsKeyEqual()

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

Definition at line 140 of file precompiler.h.

140 {
141 return pair->ptr() == key->ptr();
142 }

◆ KeyOf()

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

Definition at line 134 of file precompiler.h.

134{ return kv; }

◆ ValueOf()

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

Definition at line 136 of file precompiler.h.

136{ return kv; }

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