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