#[repr(C)]
pub struct jpeg_memory_mgr {Show fields
pub alloc_small: Option<unsafe extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, sizeofobject: usize) -> *mut c_void>,
pub alloc_large: Option<unsafe extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, sizeofobject: usize) -> *mut c_void>,
pub alloc_sarray: Option<unsafe extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, samplesperrow: JDIMENSION, numrows: JDIMENSION) -> JSAMPARRAY_MUT>,
pub alloc_barray: Option<unsafe extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, blocksperrow: JDIMENSION, numrows: JDIMENSION) -> JBLOCKARRAY>,
pub request_virt_sarray: Option<unsafe extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, pre_zero: boolean, samplesperrow: JDIMENSION, numrows: JDIMENSION, maxaccess: JDIMENSION) -> *mut jvirt_sarray_control>,
pub request_virt_barray: Option<unsafe extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, pre_zero: boolean, blocksperrow: JDIMENSION, numrows: JDIMENSION, maxaccess: JDIMENSION) -> *mut jvirt_barray_control>,
pub realize_virt_arrays: Option<unsafe extern "C" fn(cinfo: &mut jpeg_common_struct)>,
pub access_virt_sarray: Option<unsafe extern "C" fn(cinfo: &mut jpeg_common_struct, ptr: *mut jvirt_sarray_control, start_row: JDIMENSION, num_rows: JDIMENSION, writable: boolean) -> JSAMPARRAY_MUT>,
pub access_virt_barray: Option<unsafe extern "C" fn(cinfo: &mut jpeg_common_struct, ptr: *mut jvirt_barray_control, start_row: JDIMENSION, num_rows: JDIMENSION, writable: boolean) -> JBLOCKARRAY>,
pub free_pool: Option<unsafe extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int)>,
pub self_destruct: Option<unsafe extern "C" fn(cinfo: &mut jpeg_common_struct)>,
pub max_memory_to_use: c_long,
pub max_alloc_chunk: c_long,
}
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.