#[repr(C)]pub struct _GAsyncResultIface {
pub g_iface: GTypeInterface,
pub get_user_data: Option<unsafe extern "C" fn(res: *mut GAsyncResult) -> gpointer>,
pub get_source_object: Option<unsafe extern "C" fn(res: *mut GAsyncResult) -> *mut GObject>,
pub is_tagged: Option<unsafe extern "C" fn(res: *mut GAsyncResult, source_tag: gpointer) -> gboolean>,
}
Expand description
GAsyncResultIface: @g_iface: The parent interface. @get_user_data: Gets the user data passed to the callback. @get_source_object: Gets the source object that issued the asynchronous operation. @is_tagged: Checks if a result is tagged with a particular source.
Interface definition for #GAsyncResult.
Fields§
§g_iface: GTypeInterface
§get_user_data: Option<unsafe extern "C" fn(res: *mut GAsyncResult) -> gpointer>
§get_source_object: Option<unsafe extern "C" fn(res: *mut GAsyncResult) -> *mut GObject>
§is_tagged: Option<unsafe extern "C" fn(res: *mut GAsyncResult, source_tag: gpointer) -> gboolean>
Trait Implementations§
Source§impl Clone for _GAsyncResultIface
impl Clone for _GAsyncResultIface
Source§fn clone(&self) -> _GAsyncResultIface
fn clone(&self) -> _GAsyncResultIface
Returns a duplicate 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 _GAsyncResultIface
impl Debug for _GAsyncResultIface
Source§impl PartialEq for _GAsyncResultIface
impl PartialEq for _GAsyncResultIface
impl Copy for _GAsyncResultIface
impl Eq for _GAsyncResultIface
impl StructuralPartialEq for _GAsyncResultIface
Auto Trait Implementations§
impl Freeze for _GAsyncResultIface
impl RefUnwindSafe for _GAsyncResultIface
impl Send for _GAsyncResultIface
impl Sync for _GAsyncResultIface
impl Unpin for _GAsyncResultIface
impl UnwindSafe for _GAsyncResultIface
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