pub struct RwCellGuard<'a, M: Mutability, T: 'a + ?Sized> { /* private fields */ }Expand description
A resource guard that dynamically controls the lifetime of a mutable read-write cell borrow.
Implementations§
Source§impl<'a, T: ?Sized> RwCellGuard<'a, Const, T>
impl<'a, T: ?Sized> RwCellGuard<'a, Const, T>
Trait Implementations§
Source§impl<'a, M: Debug + Mutability, T: Debug + 'a + ?Sized> Debug for RwCellGuard<'a, M, T>
impl<'a, M: Debug + Mutability, T: Debug + 'a + ?Sized> Debug for RwCellGuard<'a, M, T>
Source§impl<M: Mutability, T: ?Sized> Deref for RwCellGuard<'_, M, T>
impl<M: Mutability, T: ?Sized> Deref for RwCellGuard<'_, M, T>
Source§impl<M: Mutability, T: ?Sized> Drop for RwCellGuard<'_, M, T>
impl<M: Mutability, T: ?Sized> Drop for RwCellGuard<'_, M, T>
impl<M: Mutability, T: Send> Send for RwCellGuard<'_, M, T>
impl<M: Mutability, T: Send> Sync for RwCellGuard<'_, M, T>
Auto Trait Implementations§
impl<'a, M, T> Freeze for RwCellGuard<'a, M, T>
impl<'a, M, T> RefUnwindSafe for RwCellGuard<'a, M, T>
impl<'a, M, T> Unpin for RwCellGuard<'a, M, T>
impl<'a, M, T> UnwindSafe for RwCellGuard<'a, M, 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