Module cell

Source
Expand description

Shareable mutable containers.

Extends: std::{cell}


Structs§

Cell
core A mutable memory location.
LazyCell
core A value which is initialized on the first access.
OnceCell
core A cell which can nominally be written to only once.
Ref
core A wrapper type for an inmutably borrowed value from a RefCell<T>
RefCell
core A mutable memory location with dynamically checked borrow rules.
RefCellBorrowError
🚩 core An error returned by RefCell::try_borrow.
RefCellBorrowMutError
🚩 core An error returned by RefCell::try_borrow_mut.
RefMut
core A wrapper type for a mutably borrowed value from a RefCell<T>
UnsafeCell
core The core primitive for interior mutability in Rust.

Traits§

ExtCellOption
🌐 Extension trait providing additional methods for Cell<Option>.