[−][src]Module pui::typeid_tl
This is supported on crate feature
std
only.A type based identifier that uses a unique type parameter to assert uniqueness
A given type parameter may only be associated with a single instance of
Type<T>
in the current thread, this is achieved by a runtime
check that tracks the lifetime of the type. This is done via the
make_typeid_tl
macro. It defines a new type that
tracks it's lifetime in the current thread and only allows a new Type<T>
on non-overlapping lifetimes.
Structs
Type | A type thread local based identifier |
TypeHandle | A thread local handle to to a |