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" fn(cinfo: &mut jpeg_decompress_struct)>,
pub fill_input_buffer: Option<unsafe extern "C" fn(cinfo: &mut jpeg_decompress_struct) -> boolean>,
pub skip_input_data: Option<unsafe extern "C" fn(cinfo: &mut jpeg_decompress_struct, num_bytes: c_long)>,
pub resync_to_restart: Option<unsafe extern "C" fn(cinfo: &mut jpeg_decompress_struct, desired: c_int) -> boolean>,
pub term_source: Option<unsafe extern "C" fn(cinfo: &mut jpeg_decompress_struct)>,
}Fields
next_input_byte: *const u8bytes_in_buffer: usizeinit_source: Option<unsafe extern "C" fn(cinfo: &mut jpeg_decompress_struct)>fill_input_buffer: Option<unsafe extern "C" fn(cinfo: &mut jpeg_decompress_struct) -> boolean>skip_input_data: Option<unsafe extern "C" fn(cinfo: &mut jpeg_decompress_struct, num_bytes: c_long)>resync_to_restart: Option<unsafe extern "C" fn(cinfo: &mut jpeg_decompress_struct, desired: c_int) -> boolean>term_source: Option<unsafe extern "C" fn(cinfo: &mut jpeg_decompress_struct)>Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more