Skip to main contentModule ref_mut
Source 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; ๐
- speculative ๐
- 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.
- CmRef ๐
- RefOrMut ๐
- A reference type that conditionally allows mutable access.