Struct sdl2_sys::__pthread_rwlock_arch_t
source · #[repr(C)]pub struct __pthread_rwlock_arch_t {
pub __readers: c_uint,
pub __writers: c_uint,
pub __wrphase_futex: c_uint,
pub __writers_futex: c_uint,
pub __pad3: c_uint,
pub __pad4: c_uint,
pub __cur_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§
§__readers: c_uint
§__writers: c_uint
§__wrphase_futex: c_uint
§__writers_futex: c_uint
§__pad3: c_uint
§__pad4: c_uint
§__cur_writer: c_int
§__rwelision: c_schar
§__pad1: [c_uchar; 7]
§__pad2: c_ulong
§__flags: c_uint
Trait Implementations§
source§impl Clone for __pthread_rwlock_arch_t
impl Clone for __pthread_rwlock_arch_t
source§fn clone(&self) -> __pthread_rwlock_arch_t
fn clone(&self) -> __pthread_rwlock_arch_t
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_arch_t
Auto Trait Implementations§
impl Freeze for __pthread_rwlock_arch_t
impl RefUnwindSafe for __pthread_rwlock_arch_t
impl Send for __pthread_rwlock_arch_t
impl Sync for __pthread_rwlock_arch_t
impl Unpin for __pthread_rwlock_arch_t
impl UnwindSafe for __pthread_rwlock_arch_t
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