#[repr(C)]pub struct cudaHostNodeParamsV2 {
pub fn_: cudaHostFn_t,
pub userData: *mut c_void,
}
Expand description
CUDA host node parameters
Fields§
§fn_: cudaHostFn_t
< The function to call when the node executes
userData: *mut c_void
< Argument to pass to the function
Trait Implementations§
Source§impl Clone for cudaHostNodeParamsV2
impl Clone for cudaHostNodeParamsV2
Source§fn clone(&self) -> cudaHostNodeParamsV2
fn clone(&self) -> cudaHostNodeParamsV2
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 Debug for cudaHostNodeParamsV2
impl Debug for cudaHostNodeParamsV2
impl Copy for cudaHostNodeParamsV2
Auto Trait Implementations§
impl Freeze for cudaHostNodeParamsV2
impl RefUnwindSafe for cudaHostNodeParamsV2
impl !Send for cudaHostNodeParamsV2
impl !Sync for cudaHostNodeParamsV2
impl Unpin for cudaHostNodeParamsV2
impl UnwindSafe for cudaHostNodeParamsV2
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