Struct windows_sys::Win32::System::Threading::CRITICAL_SECTION
#[repr(C)]pub struct CRITICAL_SECTION {
pub DebugInfo: *mut CRITICAL_SECTION_DEBUG,
pub LockCount: i32,
pub RecursionCount: i32,
pub OwningThread: HANDLE,
pub LockSemaphore: HANDLE,
pub SpinCount: usize,
}
Fields§
§DebugInfo: *mut CRITICAL_SECTION_DEBUG
§LockCount: i32
§RecursionCount: i32
§OwningThread: HANDLE
§LockSemaphore: HANDLE
§SpinCount: usize
Trait Implementations§
§impl Clone for CRITICAL_SECTION
impl Clone for CRITICAL_SECTION
§fn clone(&self) -> CRITICAL_SECTION
fn clone(&self) -> CRITICAL_SECTION
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 CRITICAL_SECTION
Auto Trait Implementations§
impl Freeze for CRITICAL_SECTION
impl RefUnwindSafe for CRITICAL_SECTION
impl !Send for CRITICAL_SECTION
impl !Sync for CRITICAL_SECTION
impl Unpin for CRITICAL_SECTION
impl UnwindSafe for CRITICAL_SECTION
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)