Skip to main content

aiRustProgressCallback

Type Alias aiRustProgressCallback 

Source
pub type aiRustProgressCallback = Option<unsafe extern "C" fn(percentage: f32, message: *const c_char, user: *mut c_void) -> bool>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(f32, *const i8, *mut c_void) -> bool)

Some value of type T.