pub struct Volatile {
pub value: Mutex<Value>,
}Expand description
Non-atomic mutable cell (single-thread performance, no CAS).
Fields§
§value: Mutex<Value>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Volatile
impl !Send for Volatile
impl !Sync for Volatile
impl RefUnwindSafe for Volatile
impl Unpin for Volatile
impl UnsafeUnpin for Volatile
impl UnwindSafe for Volatile
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