#[repr(C)]pub struct __pthread_mutex_s {
pub __lock: i32,
pub __count: u32,
pub __owner: i32,
pub __nusers: u32,
pub __kind: i32,
pub __spins: i16,
pub __elision: i16,
pub __list: __pthread_internal_list,
}Fields§
§__lock: i32§__count: u32§__owner: i32§__nusers: u32§__kind: i32§__spins: i16§__elision: i16§__list: __pthread_internal_listTrait Implementations§
Source§impl Clone for __pthread_mutex_s
impl Clone for __pthread_mutex_s
Source§fn clone(&self) -> __pthread_mutex_s
fn clone(&self) -> __pthread_mutex_s
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for __pthread_mutex_s
impl Debug for __pthread_mutex_s
Source§impl Ord for __pthread_mutex_s
impl Ord for __pthread_mutex_s
Source§fn cmp(&self, other: &__pthread_mutex_s) -> Ordering
fn cmp(&self, other: &__pthread_mutex_s) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for __pthread_mutex_s
impl PartialEq for __pthread_mutex_s
Source§fn eq(&self, other: &__pthread_mutex_s) -> bool
fn eq(&self, other: &__pthread_mutex_s) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for __pthread_mutex_s
impl PartialOrd for __pthread_mutex_s
impl Copy for __pthread_mutex_s
impl Eq for __pthread_mutex_s
impl StructuralPartialEq for __pthread_mutex_s
Auto Trait Implementations§
impl Freeze for __pthread_mutex_s
impl RefUnwindSafe for __pthread_mutex_s
impl !Send for __pthread_mutex_s
impl !Sync for __pthread_mutex_s
impl Unpin for __pthread_mutex_s
impl UnsafeUnpin for __pthread_mutex_s
impl UnwindSafe for __pthread_mutex_s
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