Expand description
A shared mutable type that doesn’t use guards and gives references directly!
pui_cell
builds atop the foundation of pui_core
to provide safe shared mutability that can be checked
at compile-time (if you want)!
Re-exports§
pub use typsy;
Structs§
- IdCell
- A thread-safe shared mutable type that can be
allows references into it’s interior (unlike
Cell
) without returning guards (unlikeRefCell
,Mutex
, orRwLock
).
Traits§
- GetAll
Mut - A trait that defines all the types defines how to get all
of mutable references out of the heterogeneous list
of
IdCell
s. - Identifier
Ext - An extension trait that provides functionality to get
values out of
IdCell
s safely. This trait is automatically implemented for any type that implementsIdentifier
. So you just need to bring it into scope to use it.