Struct ntapi::ntrtl::RTL_RESOURCE
source · [−]#[repr(C)]pub struct RTL_RESOURCE {
pub CriticalSection: RTL_CRITICAL_SECTION,
pub SharedSemaphore: HANDLE,
pub NumberOfWaitingShared: ULONG,
pub ExclusiveSemaphore: HANDLE,
pub NumberOfWaitingExclusive: ULONG,
pub NumberOfActive: LONG,
pub ExclusiveOwnerThread: HANDLE,
pub Flags: ULONG,
pub DebugInfo: PRTL_RESOURCE_DEBUG,
}
Fields
CriticalSection: RTL_CRITICAL_SECTION
ExclusiveSemaphore: HANDLE
NumberOfWaitingExclusive: ULONG
NumberOfActive: LONG
ExclusiveOwnerThread: HANDLE
Flags: ULONG
DebugInfo: PRTL_RESOURCE_DEBUG
Trait Implementations
sourceimpl Clone for RTL_RESOURCE
impl Clone for RTL_RESOURCE
sourcefn clone(&self) -> RTL_RESOURCE
fn clone(&self) -> RTL_RESOURCE
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for RTL_RESOURCE
Auto Trait Implementations
impl RefUnwindSafe for RTL_RESOURCE
impl !Send for RTL_RESOURCE
impl !Sync for RTL_RESOURCE
impl Unpin for RTL_RESOURCE
impl UnwindSafe for RTL_RESOURCE
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more