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§
source§impl Clone for RTL_RESOURCE
impl Clone for RTL_RESOURCE
source§fn clone(&self) -> RTL_RESOURCE
fn clone(&self) -> RTL_RESOURCE
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 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§
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