pub type SharedCell<T> = RefCell<T>;
Type alias for interior mutability, switches between SharedCell and RwLock depending on “sync” feature.
pub struct SharedCell<T> { /* private fields */ }