Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart::FunctionKeyTraits Struct Reference

#include <precompiler.h>

Static Public Member Functions

static uint32_t Hash (const Object &key)
 
static const char * Name ()
 
static bool IsMatch (const Object &x, const Object &y)
 
static bool ReportStats ()
 

Detailed Description

Definition at line 74 of file precompiler.h.

Member Function Documentation

◆ Hash()

static uint32_t dart::FunctionKeyTraits::Hash ( const Object key)
inlinestatic

Definition at line 75 of file precompiler.h.

75{ return Function::Cast(key).Hash(); }

◆ IsMatch()

static bool dart::FunctionKeyTraits::IsMatch ( const Object x,
const Object y 
)
inlinestatic

Definition at line 77 of file precompiler.h.

77 {
78 return x.ptr() == y.ptr();
79 }
double y
double x

◆ Name()

static const char * dart::FunctionKeyTraits::Name ( )
inlinestatic

Definition at line 76 of file precompiler.h.

76{ return "FunctionKeyTraits"; }

◆ ReportStats()

static bool dart::FunctionKeyTraits::ReportStats ( )
inlinestatic

Definition at line 80 of file precompiler.h.

80{ return false; }

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