Skip to main content

Crate access_cell

Crate access_cell 

Source
Expand description

A cell that allows mutable access with re-entrancy support.

When you call access with a closure that itself calls access on the same cell, those nested calls are queued and run after the current closure finishes, avoiding deadlock.

This type is thread-safe: it implements Send and Sync when T: Send.

Structsยง

AccessCell
A cell holding a value of type T with re-entrant mutable access.