Type Alias OrthancPluginJobGetProgress

Source
pub type OrthancPluginJobGetProgress = Option<unsafe extern "C" fn(job: *mut c_void) -> f32>;
Expand description

@brief Callback to check the progress of one custom job.

Signature of a callback function that returns the progress of the job.

@param job The job of interest. @return The progress, as a floating-point number ranging from 0 to 1. @ingroup Toolbox

Aliased Type§

pub enum OrthancPluginJobGetProgress {
    None,
    Some(unsafe extern "C" fn(*mut c_void) -> f32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void) -> f32)

Some value of type T.