IPLProgressCallback

Type Alias IPLProgressCallback 

Source
pub type IPLProgressCallback = Option<unsafe extern "C" fn(progress: IPLfloat32, userData: *mut c_void)>;
Expand description

Callback for updating the application on the progress of a function.

You can use this to provide the user with visual feedback, like a progress bar.

\param progress Fraction of the function work that has been completed, between 0.0 and 1.0. \param userData Pointer to arbitrary user-specified data provided when calling the function that will call this callback.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.