#[repr(C)]pub struct _pthread_rwlock {
pub __pthread_rwlock_readers: i32,
pub __pthread_rwlock_type: u16,
pub __pthread_rwlock_magic: u16,
pub __pthread_rwlock_mutex: pthread_mutex_t,
pub __pthread_rwlock_readercv: pthread_cond_t,
pub __pthread_rwlock_writercv: pthread_cond_t,
}Fields§
§__pthread_rwlock_readers: i32§__pthread_rwlock_type: u16§__pthread_rwlock_magic: u16§__pthread_rwlock_mutex: pthread_mutex_t§__pthread_rwlock_readercv: pthread_cond_t§__pthread_rwlock_writercv: pthread_cond_tTrait Implementations§
Source§impl Clone for _pthread_rwlock
impl Clone for _pthread_rwlock
Source§fn clone(&self) -> _pthread_rwlock
fn clone(&self) -> _pthread_rwlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _pthread_rwlock
Auto Trait Implementations§
impl Freeze for _pthread_rwlock
impl RefUnwindSafe for _pthread_rwlock
impl Send for _pthread_rwlock
impl Sync for _pthread_rwlock
impl Unpin for _pthread_rwlock
impl UnwindSafe for _pthread_rwlock
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