pub type MLNRenderCallback = Option<unsafe extern "C" fn(error: MLNErrorCode, image: *mut MLNImageData, user_data: *mut c_void)>;Expand description
Callback type for async rendering
Aliased Type§
pub enum MLNRenderCallback {
None,
Some(unsafe extern "C" fn(MLNErrorCode, *mut MLNImageData, *mut c_void)),
}Variants§
None
No value.
Some(unsafe extern "C" fn(MLNErrorCode, *mut MLNImageData, *mut c_void))
Some value of type T.