#[repr(C)]pub struct pthread_rwlock_t__bindgen_ty_1 {
pub __lock: i32,
pub __nr_readers: u32,
pub __readers_wakeup: u32,
pub __writer_wakeup: u32,
pub __nr_readers_queued: u32,
pub __nr_writers_queued: u32,
pub __writer: i32,
pub __shared: i32,
pub __pad1: u64,
pub __pad2: u64,
pub __flags: u32,
}
Fields§
§__lock: i32
§__nr_readers: u32
§__readers_wakeup: u32
§__writer_wakeup: u32
§__nr_readers_queued: u32
§__nr_writers_queued: u32
§__writer: i32
§__pad1: u64
§__pad2: u64
§__flags: u32
Trait Implementations§
source§impl Clone for pthread_rwlock_t__bindgen_ty_1
impl Clone for pthread_rwlock_t__bindgen_ty_1
source§fn clone(&self) -> pthread_rwlock_t__bindgen_ty_1
fn clone(&self) -> pthread_rwlock_t__bindgen_ty_1
Returns a copy 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_t__bindgen_ty_1
Auto Trait Implementations§
impl RefUnwindSafe for pthread_rwlock_t__bindgen_ty_1
impl Send for pthread_rwlock_t__bindgen_ty_1
impl Sync for pthread_rwlock_t__bindgen_ty_1
impl Unpin for pthread_rwlock_t__bindgen_ty_1
impl UnwindSafe for pthread_rwlock_t__bindgen_ty_1
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