pub struct StorageCell<T>{ /* private fields */ }Expand description
A thread-safe storage cell for single values
Implementations§
Auto Trait Implementations§
impl<T> !Freeze for StorageCell<T>
impl<T> !RefUnwindSafe for StorageCell<T>
impl<T> !Send for StorageCell<T>
impl<T> !Sync for StorageCell<T>
impl<T> Unpin for StorageCell<T>where
T: Unpin,
impl<T> !UnwindSafe for StorageCell<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more