Crate pui_cell

Crate pui_cell 

Source
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 (unlike RefCell, Mutex, or RwLock).

Traits§

GetAllMut
A trait that defines all the types defines how to get all of mutable references out of the heterogeneous list of IdCells.
IdentifierExt
An extension trait that provides functionality to get values out of IdCells safely. This trait is automatically implemented for any type that implements Identifier. So you just need to bring it into scope to use it.