Struct mozjpeg_sys::jpeg_source_mgr
source · #[repr(C)]pub struct jpeg_source_mgr {
pub next_input_byte: *const u8,
pub bytes_in_buffer: usize,
pub init_source: Option<unsafe extern "C-unwind" fn(cinfo: &mut jpeg_decompress_struct)>,
pub fill_input_buffer: Option<unsafe extern "C-unwind" fn(cinfo: &mut jpeg_decompress_struct) -> boolean>,
pub skip_input_data: Option<unsafe extern "C-unwind" fn(cinfo: &mut jpeg_decompress_struct, num_bytes: c_long)>,
pub resync_to_restart: Option<unsafe extern "C-unwind" fn(cinfo: &mut jpeg_decompress_struct, desired: c_int) -> boolean>,
pub term_source: Option<unsafe extern "C-unwind" fn(cinfo: &mut jpeg_decompress_struct)>,
}
Fields§
§next_input_byte: *const u8
§bytes_in_buffer: usize
§init_source: Option<unsafe extern "C-unwind" fn(cinfo: &mut jpeg_decompress_struct)>
§fill_input_buffer: Option<unsafe extern "C-unwind" fn(cinfo: &mut jpeg_decompress_struct) -> boolean>
§skip_input_data: Option<unsafe extern "C-unwind" fn(cinfo: &mut jpeg_decompress_struct, num_bytes: c_long)>
§resync_to_restart: Option<unsafe extern "C-unwind" fn(cinfo: &mut jpeg_decompress_struct, desired: c_int) -> boolean>
§term_source: Option<unsafe extern "C-unwind" fn(cinfo: &mut jpeg_decompress_struct)>
Auto Trait Implementations§
impl Freeze for jpeg_source_mgr
impl RefUnwindSafe for jpeg_source_mgr
impl !Send for jpeg_source_mgr
impl !Sync for jpeg_source_mgr
impl Unpin for jpeg_source_mgr
impl UnwindSafe for jpeg_source_mgr
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