#[repr(u32)]pub enum cudaExternalSemaphoreHandleType {
cudaExternalSemaphoreHandleTypeOpaqueFd = 1,
cudaExternalSemaphoreHandleTypeOpaqueWin32 = 2,
cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt = 3,
cudaExternalSemaphoreHandleTypeD3D12Fence = 4,
cudaExternalSemaphoreHandleTypeD3D11Fence = 5,
cudaExternalSemaphoreHandleTypeNvSciSync = 6,
cudaExternalSemaphoreHandleTypeKeyedMutex = 7,
cudaExternalSemaphoreHandleTypeKeyedMutexKmt = 8,
}
Variants§
cudaExternalSemaphoreHandleTypeOpaqueFd = 1
cudaExternalSemaphoreHandleTypeOpaqueWin32 = 2
cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt = 3
cudaExternalSemaphoreHandleTypeD3D12Fence = 4
cudaExternalSemaphoreHandleTypeD3D11Fence = 5
cudaExternalSemaphoreHandleTypeNvSciSync = 6
cudaExternalSemaphoreHandleTypeKeyedMutex = 7
cudaExternalSemaphoreHandleTypeKeyedMutexKmt = 8
Trait Implementations§
Source§impl Clone for cudaExternalSemaphoreHandleType
impl Clone for cudaExternalSemaphoreHandleType
Source§fn clone(&self) -> cudaExternalSemaphoreHandleType
fn clone(&self) -> cudaExternalSemaphoreHandleType
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 Ord for cudaExternalSemaphoreHandleType
impl Ord for cudaExternalSemaphoreHandleType
Source§fn cmp(&self, other: &cudaExternalSemaphoreHandleType) -> Ordering
fn cmp(&self, other: &cudaExternalSemaphoreHandleType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for cudaExternalSemaphoreHandleType
impl PartialEq for cudaExternalSemaphoreHandleType
Source§fn eq(&self, other: &cudaExternalSemaphoreHandleType) -> bool
fn eq(&self, other: &cudaExternalSemaphoreHandleType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for cudaExternalSemaphoreHandleType
impl PartialOrd for cudaExternalSemaphoreHandleType
impl Copy for cudaExternalSemaphoreHandleType
impl Eq for cudaExternalSemaphoreHandleType
impl StructuralPartialEq for cudaExternalSemaphoreHandleType
Auto Trait Implementations§
impl Freeze for cudaExternalSemaphoreHandleType
impl RefUnwindSafe for cudaExternalSemaphoreHandleType
impl Send for cudaExternalSemaphoreHandleType
impl Sync for cudaExternalSemaphoreHandleType
impl Unpin for cudaExternalSemaphoreHandleType
impl UnwindSafe for cudaExternalSemaphoreHandleType
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