pub type SRcRefCell<T> = SRc<RefCellStorage, T>;Expand description
Shared state backed by Rc<RefCell<...>>.
This is the default single-threaded shared-state container. It preserves
the native RefCell error behavior: borrowing mutably while an immutable
borrow is alive returns SharedStateError::Storage containing
std::cell::BorrowMutError; asking for a state that is not committed
returns SharedStateError::WrongState.
Aliased Typeยง
pub struct SRcRefCell<T> { /* private fields */ }