Type Alias WebPProgressHook

Source
pub type WebPProgressHook = WebPProgressHook;
Expand description

Progress hook, called from time to time to report progress.

It can return false to request an abort of the encoding process, or true otherwise if everything is OK.

Aliased Type§

enum WebPProgressHook {
    None,
    Some(unsafe extern "C" fn(_: i32, _: *const WebPPicture) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: i32, _: *const WebPPicture) -> i32)

Some value of type T.