#[repr(C)]pub struct _GLoadableIconIface {
pub g_iface: GTypeInterface,
pub load: Option<unsafe extern "C" fn(icon: *mut GLoadableIcon, size: c_int, type_: *mut *mut c_char, cancellable: *mut GCancellable, error: *mut *mut GError) -> *mut GInputStream>,
pub load_async: Option<unsafe extern "C" fn(icon: *mut GLoadableIcon, size: c_int, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub load_finish: Option<unsafe extern "C" fn(icon: *mut GLoadableIcon, res: *mut GAsyncResult, type_: *mut *mut c_char, error: *mut *mut GError) -> *mut GInputStream>,
}
Expand description
GLoadableIconIface: @g_iface: The parent interface. @load: Loads an icon. @load_async: Loads an icon asynchronously. @load_finish: Finishes an asynchronous icon load.
Interface for icons that can be loaded as a stream.
Fields§
§g_iface: GTypeInterface
§load: Option<unsafe extern "C" fn(icon: *mut GLoadableIcon, size: c_int, type_: *mut *mut c_char, cancellable: *mut GCancellable, error: *mut *mut GError) -> *mut GInputStream>
§load_async: Option<unsafe extern "C" fn(icon: *mut GLoadableIcon, size: c_int, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>
§load_finish: Option<unsafe extern "C" fn(icon: *mut GLoadableIcon, res: *mut GAsyncResult, type_: *mut *mut c_char, error: *mut *mut GError) -> *mut GInputStream>
Trait Implementations§
Source§impl Clone for _GLoadableIconIface
impl Clone for _GLoadableIconIface
Source§fn clone(&self) -> _GLoadableIconIface
fn clone(&self) -> _GLoadableIconIface
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for _GLoadableIconIface
impl Debug for _GLoadableIconIface
Source§impl PartialEq for _GLoadableIconIface
impl PartialEq for _GLoadableIconIface
impl Copy for _GLoadableIconIface
impl Eq for _GLoadableIconIface
impl StructuralPartialEq for _GLoadableIconIface
Auto Trait Implementations§
impl Freeze for _GLoadableIconIface
impl RefUnwindSafe for _GLoadableIconIface
impl Send for _GLoadableIconIface
impl Sync for _GLoadableIconIface
impl Unpin for _GLoadableIconIface
impl UnwindSafe for _GLoadableIconIface
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