Type Alias CUasyncCallback

Source
pub type CUasyncCallback = Option<unsafe extern "C" fn(info: *mut CUasyncNotificationInfo, userData: *mut c_void, callback: CUasyncCallbackHandle)>;
Expand description

CUDA async notification callback \param info Information describing what actions to take as a result of this trim notification. \param userData Pointer to user defined data provided at registration. \param callback The callback handle associated with this specific callback.

Aliased Type§

pub enum CUasyncCallback {
    None,
    Some(unsafe extern "C" fn(*mut CUasyncNotificationInfo_st, *mut c_void, *mut CUasyncCallbackEntry_st)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut CUasyncNotificationInfo_st, *mut c_void, *mut CUasyncCallbackEntry_st))

Some value of type T.