[−][src]Struct libjpegturbo_sys::jpeg_memory_mgr
Fields
alloc_small: Option<unsafe extern "C" fn(cinfo: j_common_ptr, pool_id: c_int, sizeofobject: size_t) -> *mut c_void>
alloc_large: Option<unsafe extern "C" fn(cinfo: j_common_ptr, pool_id: c_int, sizeofobject: size_t) -> *mut c_void>
alloc_sarray: Option<unsafe extern "C" fn(cinfo: j_common_ptr, pool_id: c_int, samplesperrow: JDIMENSION, numrows: JDIMENSION) -> JSAMPARRAY>
alloc_barray: Option<unsafe extern "C" fn(cinfo: j_common_ptr, pool_id: c_int, blocksperrow: JDIMENSION, numrows: JDIMENSION) -> JBLOCKARRAY>
request_virt_sarray: Option<unsafe extern "C" fn(cinfo: j_common_ptr, pool_id: c_int, pre_zero: boolean, samplesperrow: JDIMENSION, numrows: JDIMENSION, maxaccess: JDIMENSION) -> jvirt_sarray_ptr>
request_virt_barray: Option<unsafe extern "C" fn(cinfo: j_common_ptr, pool_id: c_int, pre_zero: boolean, blocksperrow: JDIMENSION, numrows: JDIMENSION, maxaccess: JDIMENSION) -> jvirt_barray_ptr>
realize_virt_arrays: Option<unsafe extern "C" fn(cinfo: j_common_ptr)>
access_virt_sarray: Option<unsafe extern "C" fn(cinfo: j_common_ptr, ptr: jvirt_sarray_ptr, start_row: JDIMENSION, num_rows: JDIMENSION, writable: boolean) -> JSAMPARRAY>
access_virt_barray: Option<unsafe extern "C" fn(cinfo: j_common_ptr, ptr: jvirt_barray_ptr, start_row: JDIMENSION, num_rows: JDIMENSION, writable: boolean) -> JBLOCKARRAY>
free_pool: Option<unsafe extern "C" fn(cinfo: j_common_ptr, pool_id: c_int)>
self_destruct: Option<unsafe extern "C" fn(cinfo: j_common_ptr)>
max_memory_to_use: c_long
max_alloc_chunk: c_long
Trait Implementations
impl Clone for jpeg_memory_mgr
[src]
fn clone(&self) -> jpeg_memory_mgr
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for jpeg_memory_mgr
[src]
impl Debug for jpeg_memory_mgr
[src]
Auto Trait Implementations
impl RefUnwindSafe for jpeg_memory_mgr
impl Send for jpeg_memory_mgr
impl Sync for jpeg_memory_mgr
impl Unpin for jpeg_memory_mgr
impl UnwindSafe for jpeg_memory_mgr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,