Skip to main content

MLNRenderCallback

Type Alias MLNRenderCallback 

Source
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§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(MLNErrorCode, *mut MLNImageData, *mut c_void))

Some value of type T.