Trait jpegxl_rs::memory::JxlMemoryManager [−][src]
pub trait JxlMemoryManager {
fn alloc(&self) -> AllocFn;
fn free(&self) -> FreeFn;
fn manager(&self) -> JxlMemoryManager { ... }
}
Expand description
General trait for a memory manager
Required methods
Provided methods
fn manager(&self) -> JxlMemoryManager
fn manager(&self) -> JxlMemoryManager
Helper conversion function for C API