Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Basic Struct Types for Rust Concurrency
UnsafeCell: the only foundamental struct which allows interior mutability. Other struct (e.g., Cell, RefCell, Rc, Arc, etc.) with interior mutability relies on UnsafeCell. Rc …