Rust · Class
Cell
Cell<T> lets code change a value through a shared reference. It moves values in and out instead of giving references to the stored value.
Last updated
- Since
- 1.0.0
Syntax
pub struct Cell<T: ?Sized> { /* private fields */ }In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
RefCellOnceCellLazyCellUnsafeCellMutexRwLock