Struct gdk_pixbuf_sys::GdkPixbufModule[][src]

#[repr(C)]
pub struct GdkPixbufModule {
Show fields pub module_name: *mut c_char, pub module_path: *mut c_char, pub module: gpointer, pub info: *mut GdkPixbufFormat, pub load: Option<unsafe extern "C" fn(_: *mut FILE, _: *mut *mut GError) -> *mut GdkPixbuf>, pub load_xpm_data: Option<unsafe extern "C" fn(_: *mut *const c_char) -> *mut GdkPixbuf>, pub begin_load: Option<unsafe extern "C" fn(_: GdkPixbufModuleSizeFunc, _: GdkPixbufModulePreparedFunc, _: GdkPixbufModuleUpdatedFunc, _: gpointer, _: *mut *mut GError) -> gpointer>, pub stop_load: Option<unsafe extern "C" fn(_: gpointer, _: *mut *mut GError) -> gboolean>, pub load_increment: Option<unsafe extern "C" fn(_: gpointer, _: *const u8, _: c_uint, _: *mut *mut GError) -> gboolean>, pub load_animation: Option<unsafe extern "C" fn(_: *mut FILE, _: *mut *mut GError) -> *mut GdkPixbufAnimation>, pub save: Option<unsafe extern "C" fn(_: *mut FILE, _: *mut GdkPixbuf, _: *mut *mut c_char, _: *mut *mut c_char, _: *mut *mut GError) -> gboolean>, pub save_to_callback: Option<unsafe extern "C" fn(_: GdkPixbufSaveFunc, _: gpointer, _: *mut GdkPixbuf, _: *mut *mut c_char, _: *mut *mut c_char, _: *mut *mut GError) -> gboolean>, pub is_save_option_supported: Option<unsafe extern "C" fn(_: *const c_char) -> gboolean>, pub _reserved1: Option<unsafe extern "C" fn()>, pub _reserved2: Option<unsafe extern "C" fn()>, pub _reserved3: Option<unsafe extern "C" fn()>, pub _reserved4: Option<unsafe extern "C" fn()>,
}

Fields

module_name: *mut c_charmodule_path: *mut c_charmodule: gpointerinfo: *mut GdkPixbufFormatload: Option<unsafe extern "C" fn(_: *mut FILE, _: *mut *mut GError) -> *mut GdkPixbuf>load_xpm_data: Option<unsafe extern "C" fn(_: *mut *const c_char) -> *mut GdkPixbuf>begin_load: Option<unsafe extern "C" fn(_: GdkPixbufModuleSizeFunc, _: GdkPixbufModulePreparedFunc, _: GdkPixbufModuleUpdatedFunc, _: gpointer, _: *mut *mut GError) -> gpointer>stop_load: Option<unsafe extern "C" fn(_: gpointer, _: *mut *mut GError) -> gboolean>load_increment: Option<unsafe extern "C" fn(_: gpointer, _: *const u8, _: c_uint, _: *mut *mut GError) -> gboolean>load_animation: Option<unsafe extern "C" fn(_: *mut FILE, _: *mut *mut GError) -> *mut GdkPixbufAnimation>save: Option<unsafe extern "C" fn(_: *mut FILE, _: *mut GdkPixbuf, _: *mut *mut c_char, _: *mut *mut c_char, _: *mut *mut GError) -> gboolean>save_to_callback: Option<unsafe extern "C" fn(_: GdkPixbufSaveFunc, _: gpointer, _: *mut GdkPixbuf, _: *mut *mut c_char, _: *mut *mut c_char, _: *mut *mut GError) -> gboolean>is_save_option_supported: Option<unsafe extern "C" fn(_: *const c_char) -> gboolean>_reserved1: Option<unsafe extern "C" fn()>_reserved2: Option<unsafe extern "C" fn()>_reserved3: Option<unsafe extern "C" fn()>_reserved4: Option<unsafe extern "C" fn()>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.