Union CUgraphNodeParams_st__bindgen_ty_1

Source
#[repr(C)]
pub union CUgraphNodeParams_st__bindgen_ty_1 {
Show 14 fields pub reserved1: [c_longlong; 29], pub kernel: CUDA_KERNEL_NODE_PARAMS_v3, pub memcpy: CUDA_MEMCPY_NODE_PARAMS, pub memset: CUDA_MEMSET_NODE_PARAMS_v2, pub host: CUDA_HOST_NODE_PARAMS_v2, pub graph: CUDA_CHILD_GRAPH_NODE_PARAMS, pub eventWait: CUDA_EVENT_WAIT_NODE_PARAMS, pub eventRecord: CUDA_EVENT_RECORD_NODE_PARAMS, pub extSemSignal: CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v2, pub extSemWait: CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2, pub alloc: CUDA_MEM_ALLOC_NODE_PARAMS_v2, pub free: CUDA_MEM_FREE_NODE_PARAMS, pub memOp: CUDA_BATCH_MEM_OP_NODE_PARAMS_v2, pub conditional: CUDA_CONDITIONAL_NODE_PARAMS,
}

Fields§

§reserved1: [c_longlong; 29]

< Padding. Unused bytes must be zero.

§kernel: CUDA_KERNEL_NODE_PARAMS_v3

< Kernel node parameters.

§memcpy: CUDA_MEMCPY_NODE_PARAMS

< Memcpy node parameters.

§memset: CUDA_MEMSET_NODE_PARAMS_v2

< Memset node parameters.

§host: CUDA_HOST_NODE_PARAMS_v2

< Host node parameters.

§graph: CUDA_CHILD_GRAPH_NODE_PARAMS

< Child graph node parameters.

§eventWait: CUDA_EVENT_WAIT_NODE_PARAMS

< Event wait node parameters.

§eventRecord: CUDA_EVENT_RECORD_NODE_PARAMS

< Event record node parameters.

§extSemSignal: CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v2

< External semaphore signal node parameters.

§extSemWait: CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2

< External semaphore wait node parameters.

§alloc: CUDA_MEM_ALLOC_NODE_PARAMS_v2

< Memory allocation node parameters.

§free: CUDA_MEM_FREE_NODE_PARAMS

< Memory free node parameters.

§memOp: CUDA_BATCH_MEM_OP_NODE_PARAMS_v2

< MemOp node parameters.

§conditional: CUDA_CONDITIONAL_NODE_PARAMS

< Conditional node parameters.

Trait Implementations§

Source§

impl Clone for CUgraphNodeParams_st__bindgen_ty_1

Source§

fn clone(&self) -> CUgraphNodeParams_st__bindgen_ty_1

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for CUgraphNodeParams_st__bindgen_ty_1

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.