Skip to main content

Module ref_mut

Module ref_mut 

Source

Re-exportsยง

use std::cell::BorrowMutError; ๐Ÿ”’
use std::cell::Cell; ๐Ÿ”’
use std::cell::Ref; ๐Ÿ”’
use std::cell::RefCell; ๐Ÿ”’
use std::cell::RefMut; ๐Ÿ”’
use std::fmt; ๐Ÿ”’
use std::ops::Deref; ๐Ÿ”’
use crate::Resolver; ๐Ÿ”’

Modulesยง

speculative ๐Ÿ”’

Structsยง

CmCell ๐Ÿ”’
A wrapper around a Cell that only allows mutation based on a condition in the resolver.
CmRefCell ๐Ÿ”’
A wrapper around a RefCell that only allows writes (mutable borrows) based on a condition in the resolver.

Enumsยง

CmRef ๐Ÿ”’
RefOrMut ๐Ÿ”’
A reference type that conditionally allows mutable access.