[][src]Struct gio_sys::GApplicationClass

#[repr(C)]pub struct GApplicationClass {
    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

impl Clone for GApplicationClass[src]

impl Copy for GApplicationClass[src]

impl Debug for GApplicationClass[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.