Trait jpegxl_rs::parallel::JxlParallelRunner

source ·
pub trait JxlParallelRunner {
    // Required methods
    fn runner(&self) -> RunnerFn;
    fn as_opaque_ptr(&self) -> *mut c_void;

    // Provided method
    fn callback_basic_info(&self, basic_info: &BasicInfo) { ... }
}
Expand description

JPEG XL Parallel Runner

Required Methods§

source

fn runner(&self) -> RunnerFn

Get a RunnerFn for the parallel runner.

source

fn as_opaque_ptr(&self) -> *mut c_void

Get an opaque pointer to the runner.

Provided Methods§

source

fn callback_basic_info(&self, basic_info: &BasicInfo)

Callback function after getting basic info

Implementors§

source§

impl JxlParallelRunner for ResizableRunner<'_>

Available on crate feature threads only.
source§

impl JxlParallelRunner for ThreadsRunner<'_>

Available on crate feature threads only.