[−][src]Macro pui_core::global_pool
Create a new type that implements Pool
and PoolMut
that can be used with Dynamic
For example,
pui_core::global_pool! { pub struct MyPool(pui_core::pool::SyncStackPool<pui_core::dynamic::Global>); } let _my_pool = MyPool;
will generate a global pool that is backed by a SyncStackPool
, and holds Global
s