Struct std::sys::unix::locks::pthread_rwlock::AllocatedRwLock
source · struct AllocatedRwLock {
inner: UnsafeCell<pthread_rwlock_t>,
write_locked: UnsafeCell<bool>,
num_readers: AtomicUsize,
}Fields§
§inner: UnsafeCell<pthread_rwlock_t>§write_locked: UnsafeCell<bool>§num_readers: AtomicUsizeImplementations§
source§impl AllocatedRwLock
impl AllocatedRwLock
unsafe fn raw_unlock(&self)
Trait Implementations§
source§impl Drop for AllocatedRwLock
impl Drop for AllocatedRwLock
source§impl LazyInit for AllocatedRwLock
impl LazyInit for AllocatedRwLock
impl Send for AllocatedRwLock
impl Sync for AllocatedRwLock
Auto Trait Implementations§
impl !RefUnwindSafe for AllocatedRwLock
impl Unpin for AllocatedRwLock
impl UnwindSafe for AllocatedRwLock
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