#[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 __rwelision: c_schar,
pub __pad1: [c_uchar; 7],
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
§__rwelision: c_schar
§__pad1: [c_uchar; 7]
§__pad2: c_ulong
§__flags: c_uint
Trait Implementations§
Source§impl Default for pthread_rwlock_t__bindgen_ty_1
impl Default for pthread_rwlock_t__bindgen_ty_1
Source§fn default() -> pthread_rwlock_t__bindgen_ty_1
fn default() -> pthread_rwlock_t__bindgen_ty_1
Returns the “default value” for a type. Read more
impl 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