#[repr(C)]pub struct CCriticalSection {
pub _mutex: pthread_mutex_t,
}Fields§
§_mutex: pthread_mutex_tTrait Implementations§
Source§impl Clone for CCriticalSection
impl Clone for CCriticalSection
Source§fn clone(&self) -> CCriticalSection
fn clone(&self) -> CCriticalSection
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 CCriticalSection
impl Debug for CCriticalSection
Source§impl Default for CCriticalSection
impl Default for CCriticalSection
impl Copy for CCriticalSection
Auto Trait Implementations§
impl Freeze for CCriticalSection
impl RefUnwindSafe for CCriticalSection
impl !Send for CCriticalSection
impl !Sync for CCriticalSection
impl Unpin for CCriticalSection
impl UnsafeUnpin for CCriticalSection
impl UnwindSafe for CCriticalSection
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