#[repr(C)]pub struct cudaExternalSemaphoreHandleDesc {
pub type_: cudaExternalSemaphoreHandleType,
pub handle: cudaExternalSemaphoreHandleDesc__bindgen_ty_1,
pub flags: c_uint,
pub reserved: [c_uint; 16],
}Expand description
External semaphore handle descriptor.
Fields§
§type_: cudaExternalSemaphoreHandleTypeType of the handle.
handle: cudaExternalSemaphoreHandleDesc__bindgen_ty_1Platform-specific external handle representation selected by type.
flags: c_uintFlags reserved for the future.
Must be zero.
reserved: [c_uint; 16]Must be zero.
Trait Implementations§
impl Copy for cudaExternalSemaphoreHandleDesc
Auto Trait Implementations§
impl !Send for cudaExternalSemaphoreHandleDesc
impl !Sync for cudaExternalSemaphoreHandleDesc
impl Forget for cudaExternalSemaphoreHandleDesc
impl Freeze for cudaExternalSemaphoreHandleDesc
impl Move for cudaExternalSemaphoreHandleDesc
impl RefUnwindSafe for cudaExternalSemaphoreHandleDesc
impl Unpin for cudaExternalSemaphoreHandleDesc
impl UnsafeUnpin for cudaExternalSemaphoreHandleDesc
impl UnwindSafe for cudaExternalSemaphoreHandleDesc
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