pub struct RwLock<T>(RwLock<RawRwLock, T>);
Expand description
Provides interior mutability.
Uses parking_lot
crate on native targets, and atomic_refcell
on wasm32
targets.
Tuple Fields§
§0: RwLock<RawRwLock, T>
pub struct RwLock<T>(RwLock<RawRwLock, T>);
Provides interior mutability.
Uses parking_lot
crate on native targets, and atomic_refcell
on wasm32
targets.
0: RwLock<RawRwLock, T>