pub struct SyncImplRef<T: ?Sized>(pub RefCell<T>);Expand description
The wrapper.
Tuple Fields§
§0: RefCell<T>Implementations§
Source§impl<T> SyncImplRef<T>
impl<T> SyncImplRef<T>
Source§impl<T: ?Sized> SyncImplRef<T>
impl<T: ?Sized> SyncImplRef<T>
Sourcepub fn borrow_mut(&self) -> RefMut<'_, T>
pub fn borrow_mut(&self) -> RefMut<'_, T>
A convenient alias for mut borrow.
Trait Implementations§
impl<T: ?Sized> Sync for SyncImplRef<T>
For global use. The OS kernel itself is single-thread.