pub type WebPWriterFunction = WebPWriterFunction;
Expand description
Signature for output function.
Should return true if writing was successful. data/data_size is the segment of data to write, and ‘picture’ is for reference (and so one can make use of picture->custom_ptr).
Aliased Type§
enum WebPWriterFunction {
None,
Some(unsafe extern "C" fn(_: *const u8, _: usize, _: *const WebPPicture) -> i32),
}