One noteworthy facet of these types is related to their usage as a shared reference. In Rust, shared references cannot mutate their held data, so Rc often comes bundled with Cell, and Arc with Mutex, in contexts where interior mutability is necessary.
one noteworthy facet of these types is related to their usage as a shared reference in rust shared references cannot mutate their held data so rc often comes bundled with cell and arc with mutex in contexts where interior mutability is necessary