pub struct GApplicationClass {Show 14 fields
pub startup: Option<extern "C" fn(*mut GApplication)>,
pub activate: Option<extern "C" fn(*mut GApplication)>,
pub open: Option<extern "C" fn(*mut GApplication, *mut *mut GFile, gint, *const gchar)>,
pub command_line: Option<extern "C" fn(*mut GApplication, *mut GApplicationCommandLine) -> gint>,
pub local_command_line: Option<extern "C" fn(*mut GApplication, *mut *mut *mut gchar, *mut gint) -> gboolean>,
pub before_emit: Option<extern "C" fn(*mut GApplication, *mut GVariant)>,
pub after_emit: Option<extern "C" fn(*mut GApplication, *mut GVariant)>,
pub add_platform_data: Option<extern "C" fn(*mut GApplication, *mut GVariantBuilder)>,
pub quit_mainloop: Option<extern "C" fn(*mut GApplication)>,
pub run_mainloop: Option<extern "C" fn(*mut GApplication)>,
pub shutdown: Option<extern "C" fn(*mut GApplication)>,
pub dbus_register: Option<extern "C" fn(*mut GApplication, *mut GDBusConnection, *const gchar, *mut *mut GError) -> gboolean>,
pub dbus_unregister: Option<extern "C" fn(*mut GApplication, *mut GDBusConnection, *const gchar)>,
pub handle_local_options: Option<extern "C" fn(*mut GApplication, *mut GVariantDict) -> gint>,
/* private fields */
}Fields§
§startup: Option<extern "C" fn(*mut GApplication)>§activate: Option<extern "C" fn(*mut GApplication)>§open: Option<extern "C" fn(*mut GApplication, *mut *mut GFile, gint, *const gchar)>§command_line: Option<extern "C" fn(*mut GApplication, *mut GApplicationCommandLine) -> gint>§local_command_line: Option<extern "C" fn(*mut GApplication, *mut *mut *mut gchar, *mut gint) -> gboolean>§before_emit: Option<extern "C" fn(*mut GApplication, *mut GVariant)>§after_emit: Option<extern "C" fn(*mut GApplication, *mut GVariant)>§add_platform_data: Option<extern "C" fn(*mut GApplication, *mut GVariantBuilder)>§quit_mainloop: Option<extern "C" fn(*mut GApplication)>§run_mainloop: Option<extern "C" fn(*mut GApplication)>§shutdown: Option<extern "C" fn(*mut GApplication)>§dbus_register: Option<extern "C" fn(*mut GApplication, *mut GDBusConnection, *const gchar, *mut *mut GError) -> gboolean>§dbus_unregister: Option<extern "C" fn(*mut GApplication, *mut GDBusConnection, *const gchar)>§handle_local_options: Option<extern "C" fn(*mut GApplication, *mut GVariantDict) -> gint>Auto Trait Implementations§
impl Freeze for GApplicationClass
impl RefUnwindSafe for GApplicationClass
impl !Send for GApplicationClass
impl !Sync for GApplicationClass
impl Unpin for GApplicationClass
impl UnwindSafe for GApplicationClass
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