pub struct PureCell<T> { /* private fields */ }
Expand description
A cell type that provides interior mutability via “pure” functions.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for PureCell<T>
impl<T> Send for PureCell<T> where
T: Send,
impl<T> !Sync for PureCell<T>
impl<T> Unpin for PureCell<T> where
T: Unpin,
impl<T> UnwindSafe for PureCell<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more