c_worker_ExecuteCallback

Type Alias c_worker_ExecuteCallback 

Source
pub type c_worker_ExecuteCallback = Option<unsafe extern "C" fn(task_type: RayInt, ray_function_info: RaySlice, args: RaySlice, return_values: RaySlice)>;

Aliased Type§

pub enum c_worker_ExecuteCallback {
    None,
    Some(unsafe extern "C" fn(u64, RaySlice, RaySlice, RaySlice)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u64, RaySlice, RaySlice, RaySlice))

Some value of type T.