#[repr(transparent)]pub struct CUexternalSemaphoreHandleType(pub c_uint);
Expand description
External semaphore handle types External semaphore handle types
Tuple Fields§
§0: c_uint
Implementations§
Source§impl CUexternalSemaphoreHandleType_enum
impl CUexternalSemaphoreHandleType_enum
Sourcepub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD: CUexternalSemaphoreHandleType_enum
pub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD: CUexternalSemaphoreHandleType_enum
Handle is an opaque file descriptor
Source§impl CUexternalSemaphoreHandleType_enum
impl CUexternalSemaphoreHandleType_enum
Sourcepub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32: CUexternalSemaphoreHandleType_enum
pub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32: CUexternalSemaphoreHandleType_enum
Handle is an opaque shared NT handle
Source§impl CUexternalSemaphoreHandleType_enum
impl CUexternalSemaphoreHandleType_enum
Sourcepub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT: CUexternalSemaphoreHandleType_enum
pub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT: CUexternalSemaphoreHandleType_enum
Handle is an opaque, globally shared handle
Source§impl CUexternalSemaphoreHandleType_enum
impl CUexternalSemaphoreHandleType_enum
Sourcepub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE: CUexternalSemaphoreHandleType_enum
pub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE: CUexternalSemaphoreHandleType_enum
Handle is a shared NT handle referencing a D3D12 fence object
Source§impl CUexternalSemaphoreHandleType_enum
impl CUexternalSemaphoreHandleType_enum
Sourcepub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE: CUexternalSemaphoreHandleType_enum
pub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE: CUexternalSemaphoreHandleType_enum
Handle is a shared NT handle referencing a D3D11 fence object
Source§impl CUexternalSemaphoreHandleType_enum
impl CUexternalSemaphoreHandleType_enum
Sourcepub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC: CUexternalSemaphoreHandleType_enum
pub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC: CUexternalSemaphoreHandleType_enum
Opaque handle to NvSciSync Object
Source§impl CUexternalSemaphoreHandleType_enum
impl CUexternalSemaphoreHandleType_enum
Sourcepub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX: CUexternalSemaphoreHandleType_enum
pub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX: CUexternalSemaphoreHandleType_enum
Handle is a shared NT handle referencing a D3D11 keyed mutex object
Source§impl CUexternalSemaphoreHandleType_enum
impl CUexternalSemaphoreHandleType_enum
Sourcepub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX_KMT: CUexternalSemaphoreHandleType_enum
pub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX_KMT: CUexternalSemaphoreHandleType_enum
Handle is a globally shared handle referencing a D3D11 keyed mutex object
Source§impl CUexternalSemaphoreHandleType_enum
impl CUexternalSemaphoreHandleType_enum
Sourcepub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TIMELINE_SEMAPHORE_FD: CUexternalSemaphoreHandleType_enum
pub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TIMELINE_SEMAPHORE_FD: CUexternalSemaphoreHandleType_enum
Handle is an opaque file descriptor referencing a timeline semaphore
Source§impl CUexternalSemaphoreHandleType_enum
impl CUexternalSemaphoreHandleType_enum
Sourcepub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TIMELINE_SEMAPHORE_WIN32: CUexternalSemaphoreHandleType_enum
pub const CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TIMELINE_SEMAPHORE_WIN32: CUexternalSemaphoreHandleType_enum
Handle is an opaque shared NT handle referencing a timeline semaphore
Trait Implementations§
Source§impl Clone for CUexternalSemaphoreHandleType_enum
impl Clone for CUexternalSemaphoreHandleType_enum
Source§fn clone(&self) -> CUexternalSemaphoreHandleType_enum
fn clone(&self) -> CUexternalSemaphoreHandleType_enum
Returns a duplicate 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 moreSource§impl PartialEq for CUexternalSemaphoreHandleType_enum
impl PartialEq for CUexternalSemaphoreHandleType_enum
Source§fn eq(&self, other: &CUexternalSemaphoreHandleType_enum) -> bool
fn eq(&self, other: &CUexternalSemaphoreHandleType_enum) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CUexternalSemaphoreHandleType_enum
impl Eq for CUexternalSemaphoreHandleType_enum
impl StructuralPartialEq for CUexternalSemaphoreHandleType_enum
Auto Trait Implementations§
impl Freeze for CUexternalSemaphoreHandleType_enum
impl RefUnwindSafe for CUexternalSemaphoreHandleType_enum
impl Send for CUexternalSemaphoreHandleType_enum
impl Sync for CUexternalSemaphoreHandleType_enum
impl Unpin for CUexternalSemaphoreHandleType_enum
impl UnwindSafe for CUexternalSemaphoreHandleType_enum
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