#[repr(C)]pub struct pthread_rwlock_t__bindgen_ty_1 {
pub __lock: c_int,
pub __nr_readers: c_uint,
pub __readers_wakeup: c_uint,
pub __writer_wakeup: c_uint,
pub __nr_readers_queued: c_uint,
pub __nr_writers_queued: c_uint,
pub __writer: c_int,
pub __shared: c_int,
pub __pad1: c_ulong,
pub __pad2: c_ulong,
pub __flags: c_uint,
}
Fields§
§__lock: c_int
§__nr_readers: c_uint
§__readers_wakeup: c_uint
§__writer_wakeup: c_uint
§__nr_readers_queued: c_uint
§__nr_writers_queued: c_uint
§__writer: c_int
§__pad1: c_ulong
§__pad2: c_ulong
§__flags: c_uint
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 Freeze for pthread_rwlock_t__bindgen_ty_1
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