Expand description
Atomic Refcell implmentation.
Atomic Refcells are from the atomic_refcell crate.
Modules§
- borrow
- This module contains types that can be used to implement atomic borrowing.
Structs§
- Atomic
Cell - A mutable memory location with dynamically checked borrow rules
This type behaves mostly like
core::cell::RefCell. The main difference is that this type uses atomic operations for borrowing. Thus allowing to use it in multi-threaded environment. - Ref
- Wrapper for a borrowed
AtomicCellthat will released lock on drop. - RefMut
- Wrapper for mutably borrowed
AtomicCellthat will released lock on drop.