Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
impeller::UniqueID Struct Reference

#include <comparable.h>

Public Member Functions

 UniqueID ()
 
constexpr bool operator== (const UniqueID &other) const
 

Public Attributes

size_t id
 

Detailed Description

Definition at line 16 of file comparable.h.

Constructor & Destructor Documentation

◆ UniqueID()

impeller::UniqueID::UniqueID ( )

Definition at line 12 of file comparable.cc.

12: id(++sLastID) {}
static std::atomic_size_t sLastID
Definition comparable.cc:11

Member Function Documentation

◆ operator==()

constexpr bool impeller::UniqueID::operator== ( const UniqueID other) const
inlineconstexpr

Definition at line 21 of file comparable.h.

21 {
22 return id == other.id;
23 }

Member Data Documentation

◆ id

size_t impeller::UniqueID::id

Definition at line 17 of file comparable.h.


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