Crate pui_core

Source
Expand description

pui-core provides process unique identifiers. These identifiers, as the name suggests are unique within the process they reside in. pui-core also provides thread-local unique identifiers that are unique within the thread they reside in.

Modules§

dynamic
A dynamically created type that is guarnteed to be unique on the given thread or process
pool
A pool of ids that can be used to reuse ids in Dynamic.
scalar
Scalar defined types that can be used to back the ScalarAllocators
scoped
A Scoped Identifier

Macros§

global_pool
Create a new type that implements Pool and PoolMut that can be used with Dynamic
scalar_allocator
Construct a new ScalarAllocator
scope
Create a new Scoped<'_> with the given name without using a closure

Traits§

Identifier
An Identifier is a process unique identifier
Init
A const initializer
OneShotIdentifier
An Identifier who’s tokens are guaranteed to never be owned by another Identifier, even if this one is dropped
Token
A type that an Identifier produces and is owned by an Identifier
Trivial
A Token that has no safety requirements