ANARIStatusCallback

Type Alias ANARIStatusCallback 

Source
pub type ANARIStatusCallback = Option<unsafe extern "C" fn(userPtr: *const c_void, device: ANARIDevice, source: ANARIObject, sourceType: ANARIDataType, severity: ANARIStatusSeverity, code: ANARIStatusCode, message: *const c_char)>;

Aliased Type§

pub enum ANARIStatusCallback {
    None,
    Some(unsafe extern "C" fn(*const c_void, *mut c_void, *mut c_void, i32, i32, i32, *const i8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, *mut c_void, *mut c_void, i32, i32, i32, *const i8))

Some value of type T.