Expand description
This crate allows one to associate thread localc objects to types.
Macros§
- assoc_
threadlocal - Helper macro doing the boilerplate implementation. This must be a macro because we can not use generic parameters from the outer scope.
Traits§
- Assoc
Thread Local - Associates a static object of type T and a marker TAG.
Use the
assoc_threadlocal!()
macro for implementing this trait on types.