Struct wgpu_core::lock::vanilla::RwLockWriteGuard
source · pub struct RwLockWriteGuard<'a, T>(RwLockWriteGuard<'a, T>);
Expand description
A write guard produced by locking RwLock
as a writer.
This is just a wrapper around a parking_lot::RwLockWriteGuard
.
Tuple Fields§
§0: RwLockWriteGuard<'a, T>
Implementations§
source§impl<'a, T> RwLockWriteGuard<'a, T>
impl<'a, T> RwLockWriteGuard<'a, T>
pub fn downgrade(this: Self) -> RwLockReadGuard<'a, T>
Trait Implementations§
source§impl<'a, T> Deref for RwLockWriteGuard<'a, T>
impl<'a, T> Deref for RwLockWriteGuard<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for RwLockWriteGuard<'a, T>
impl<'a, T> !RefUnwindSafe for RwLockWriteGuard<'a, T>
impl<'a, T> !Send for RwLockWriteGuard<'a, T>
impl<'a, T> Sync for RwLockWriteGuard<'a, T>where
T: Sync,
impl<'a, T> Unpin for RwLockWriteGuard<'a, T>
impl<'a, T> !UnwindSafe for RwLockWriteGuard<'a, 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