Struct mozjpeg_sys::jpeg_source_mgr[][src]

#[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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.