dymokomi/luce-browser-foundation
Source of release 0.6.0
0.6.0 / src / ak / types_singleton.lucb
#==============================================================================================
#
# types_singleton - declarations of AK/Singleton.h
#
# DESCRIPTION:
# Structs, enums, vtables, class information and cast helpers generated from
# AK/Singleton.h (Ladybird 47c82b38d0) by the skeleton generator (DESIGN.md ยง4.4).
# Regenerate rather than edit, except to fill a field the generator could not map.
#
#==============================================================================================
# mark: Singleton ===============================================================================
## AK::Singleton (AK/Singleton.h:34): a generic struct.
pub struct Singleton[T]:
pub var m_obj: @T*? # C++ default: { nullptr } (Atomic<T*>)
pub var m_init: (func() -> T*)? # the InitFunction template argument