#[repr(C)]
pub struct GApplicationClass {
Show 17 fields pub parent_class: GObjectClass, pub startup: Option<unsafe extern "C" fn(_: *mut GApplication)>, pub activate: Option<unsafe extern "C" fn(_: *mut GApplication)>, pub open: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut *mut GFile, _: c_int, _: *const c_char)>, pub command_line: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GApplicationCommandLine) -> c_int>, pub local_command_line: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut *mut *mut c_char, _: *mut c_int) -> gboolean>, pub before_emit: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GVariant)>, pub after_emit: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GVariant)>, pub add_platform_data: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GVariantBuilder)>, pub quit_mainloop: Option<unsafe extern "C" fn(_: *mut GApplication)>, pub run_mainloop: Option<unsafe extern "C" fn(_: *mut GApplication)>, pub shutdown: Option<unsafe extern "C" fn(_: *mut GApplication)>, pub dbus_register: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GDBusConnection, _: *const c_char, _: *mut *mut GError) -> gboolean>, pub dbus_unregister: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GDBusConnection, _: *const c_char)>, pub handle_local_options: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GVariantDict) -> c_int>, pub name_lost: Option<unsafe extern "C" fn(_: *mut GApplication) -> gboolean>, pub padding: [gpointer; 7],
}

Fields

parent_class: GObjectClassstartup: Option<unsafe extern "C" fn(_: *mut GApplication)>activate: Option<unsafe extern "C" fn(_: *mut GApplication)>open: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut *mut GFile, _: c_int, _: *const c_char)>command_line: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GApplicationCommandLine) -> c_int>local_command_line: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut *mut *mut c_char, _: *mut c_int) -> gboolean>before_emit: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GVariant)>after_emit: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GVariant)>add_platform_data: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GVariantBuilder)>quit_mainloop: Option<unsafe extern "C" fn(_: *mut GApplication)>run_mainloop: Option<unsafe extern "C" fn(_: *mut GApplication)>shutdown: Option<unsafe extern "C" fn(_: *mut GApplication)>dbus_register: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GDBusConnection, _: *const c_char, _: *mut *mut GError) -> gboolean>dbus_unregister: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GDBusConnection, _: *const c_char)>handle_local_options: Option<unsafe extern "C" fn(_: *mut GApplication, _: *mut GVariantDict) -> c_int>name_lost: Option<unsafe extern "C" fn(_: *mut GApplication) -> gboolean>padding: [gpointer; 7]

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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)

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.