#[repr(C)]pub struct jpeg_common_struct {
pub err: *mut jpeg_error_mgr,
pub mem: *mut jpeg_memory_mgr,
pub progress: *mut jpeg_progress_mgr,
pub client_data: *mut c_void,
pub is_decompressor: boolean,
pub global_state: c_int,
}Expand description
Routines that are to be used by both halves of the library are declared
to receive a pointer to this structure. There are no actual instances of
jpeg_common_struct, only of jpeg_compress_struct and jpeg_decompress_struct.
Fields§
§err: *mut jpeg_error_mgr§mem: *mut jpeg_memory_mgr§progress: *mut jpeg_progress_mgrProgress monitor, or NULL if none
client_data: *mut c_voidAvailable for use by application
is_decompressor: booleanSo common code can tell which is which
global_state: c_intFor checking call sequence validity
Auto Trait Implementations§
impl Freeze for jpeg_common_struct
impl RefUnwindSafe for jpeg_common_struct
impl !Send for jpeg_common_struct
impl !Sync for jpeg_common_struct
impl Unpin for jpeg_common_struct
impl UnwindSafe for jpeg_common_struct
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more