Skip to main content

SharedCell

Type Alias SharedCell 

Source
pub type SharedCell<T> = RefCell<T>;
Expand description

Type alias for interior mutability, switches between SharedCell and RwLock depending on “sync” feature.

Aliased Type§

pub struct SharedCell<T> { /* private fields */ }