#[repr(C)]
pub struct RUCoreApplicationFuncs {
Show 30 fields pub set_organization_domain: extern "C" fn(self_c: *const RUBase, org_domain: *const c_char), pub organization_domain: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub set_organization_name: extern "C" fn(self_c: *const RUBase, org_name: *const c_char), pub organization_name: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub set_application_name: extern "C" fn(self_c: *const RUBase, application: *const c_char), pub application_name: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub set_application_version: extern "C" fn(self_c: *const RUBase, version: *const c_char), pub application_version: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub set_setuid_allowed: extern "C" fn(self_c: *const RUBase, allow: bool), pub is_setuid_allowed: extern "C" fn(self_c: *const RUBase) -> bool, pub instance: extern "C" fn(self_c: *const RUBase) -> RUCoreApplication, pub exec: extern "C" fn(self_c: *const RUBase) -> i32, pub exit: extern "C" fn(self_c: *const RUBase, retcode: i32), pub send_event: extern "C" fn(self_c: *const RUBase, receiver: *const RUBase, event: *const RUBase) -> bool, pub post_event: extern "C" fn(self_c: *const RUBase, receiver: *const RUBase, event: *const RUBase, priority: i32), pub send_posted_events: extern "C" fn(self_c: *const RUBase, receiver: *const RUBase, event_type: i32), pub remove_posted_events: extern "C" fn(self_c: *const RUBase, receiver: *const RUBase, event_type: i32), pub has_pending_events: extern "C" fn(self_c: *const RUBase) -> bool, pub starting_up: extern "C" fn(self_c: *const RUBase) -> bool, pub closing_down: extern "C" fn(self_c: *const RUBase) -> bool, pub application_dir_path: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub application_file_path: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub application_pid: extern "C" fn(self_c: *const RUBase) -> i64, pub add_library_path: extern "C" fn(self_c: *const RUBase, arg0: *const c_char), pub remove_library_path: extern "C" fn(self_c: *const RUBase, arg0: *const c_char), pub flush: extern "C" fn(self_c: *const RUBase), pub is_quit_lock_enabled: extern "C" fn(self_c: *const RUBase) -> bool, pub set_quit_lock_enabled: extern "C" fn(self_c: *const RUBase, enabled: bool), pub quit: extern "C" fn(self_c: *const RUBase), pub set_about_to_quit_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void),
}

Fields

set_organization_domain: extern "C" fn(self_c: *const RUBase, org_domain: *const c_char)organization_domain: extern "C" fn(self_c: *const RUBase) -> *const c_charset_organization_name: extern "C" fn(self_c: *const RUBase, org_name: *const c_char)organization_name: extern "C" fn(self_c: *const RUBase) -> *const c_charset_application_name: extern "C" fn(self_c: *const RUBase, application: *const c_char)application_name: extern "C" fn(self_c: *const RUBase) -> *const c_charset_application_version: extern "C" fn(self_c: *const RUBase, version: *const c_char)application_version: extern "C" fn(self_c: *const RUBase) -> *const c_charset_setuid_allowed: extern "C" fn(self_c: *const RUBase, allow: bool)is_setuid_allowed: extern "C" fn(self_c: *const RUBase) -> boolinstance: extern "C" fn(self_c: *const RUBase) -> RUCoreApplicationexec: extern "C" fn(self_c: *const RUBase) -> i32exit: extern "C" fn(self_c: *const RUBase, retcode: i32)send_event: extern "C" fn(self_c: *const RUBase, receiver: *const RUBase, event: *const RUBase) -> boolpost_event: extern "C" fn(self_c: *const RUBase, receiver: *const RUBase, event: *const RUBase, priority: i32)send_posted_events: extern "C" fn(self_c: *const RUBase, receiver: *const RUBase, event_type: i32)remove_posted_events: extern "C" fn(self_c: *const RUBase, receiver: *const RUBase, event_type: i32)has_pending_events: extern "C" fn(self_c: *const RUBase) -> boolstarting_up: extern "C" fn(self_c: *const RUBase) -> boolclosing_down: extern "C" fn(self_c: *const RUBase) -> boolapplication_dir_path: extern "C" fn(self_c: *const RUBase) -> *const c_charapplication_file_path: extern "C" fn(self_c: *const RUBase) -> *const c_charapplication_pid: extern "C" fn(self_c: *const RUBase) -> i64add_library_path: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)remove_library_path: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)flush: extern "C" fn(self_c: *const RUBase)is_quit_lock_enabled: extern "C" fn(self_c: *const RUBase) -> boolset_quit_lock_enabled: extern "C" fn(self_c: *const RUBase, enabled: bool)quit: extern "C" fn(self_c: *const RUBase)set_about_to_quit_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. 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
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.