#[repr(C)]pub struct cudaExternalSemaphoreHandleDesc {
pub type_: cudaExternalSemaphoreHandleType,
pub handle: cudaExternalSemaphoreHandleDesc__bindgen_ty_1,
pub flags: c_uint,
}
Expand description
External semaphore handle descriptor
Fields§
§type_: cudaExternalSemaphoreHandleType
Type of the handle
handle: cudaExternalSemaphoreHandleDesc__bindgen_ty_1
§flags: c_uint
Flags reserved for the future. Must be zero.
Trait Implementations§
Source§impl Clone for cudaExternalSemaphoreHandleDesc
impl Clone for cudaExternalSemaphoreHandleDesc
Source§fn clone(&self) -> cudaExternalSemaphoreHandleDesc
fn clone(&self) -> cudaExternalSemaphoreHandleDesc
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 moreimpl Copy for cudaExternalSemaphoreHandleDesc
Auto Trait Implementations§
impl Freeze for cudaExternalSemaphoreHandleDesc
impl RefUnwindSafe for cudaExternalSemaphoreHandleDesc
impl !Send for cudaExternalSemaphoreHandleDesc
impl !Sync for cudaExternalSemaphoreHandleDesc
impl Unpin 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