struct UncheckedSyncUnsafeCell<T>(UnsafeCell<T>);
Tuple Fields§
§0: UnsafeCell<T>
Trait Implementations§
impl<T> Sync for UncheckedSyncUnsafeCell<T>
Safety: dereferencing the pointer from UnsafeCell::get
must involve external synchronization
Auto Trait Implementations§
impl<T> !Freeze for UncheckedSyncUnsafeCell<T>
impl<T> !RefUnwindSafe for UncheckedSyncUnsafeCell<T>
impl<T> Send for UncheckedSyncUnsafeCell<T>where
T: Send,
impl<T> Unpin for UncheckedSyncUnsafeCell<T>where
T: Unpin,
impl<T> UnwindSafe for UncheckedSyncUnsafeCell<T>where
T: UnwindSafe,
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