Struct rute::auto::core_application_ffi::RUCoreApplicationFuncs
source · #[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_char
set_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_char
set_application_name: extern "C" fn(self_c: *const RUBase, application: *const c_char)
application_name: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_application_version: extern "C" fn(self_c: *const RUBase, version: *const c_char)
application_version: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_setuid_allowed: extern "C" fn(self_c: *const RUBase, allow: bool)
is_setuid_allowed: extern "C" fn(self_c: *const RUBase) -> bool
instance: extern "C" fn(self_c: *const RUBase) -> RUCoreApplication
exec: extern "C" fn(self_c: *const RUBase) -> i32
exit: extern "C" fn(self_c: *const RUBase, retcode: i32)
send_event: extern "C" fn(self_c: *const RUBase, receiver: *const RUBase, event: *const RUBase) -> bool
post_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) -> bool
starting_up: extern "C" fn(self_c: *const RUBase) -> bool
closing_down: extern "C" fn(self_c: *const RUBase) -> bool
application_dir_path: extern "C" fn(self_c: *const RUBase) -> *const c_char
application_file_path: extern "C" fn(self_c: *const RUBase) -> *const c_char
application_pid: extern "C" fn(self_c: *const RUBase) -> i64
add_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) -> bool
set_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
sourceimpl Clone for RUCoreApplicationFuncs
impl Clone for RUCoreApplicationFuncs
sourcefn clone(&self) -> RUCoreApplicationFuncs
fn clone(&self) -> RUCoreApplicationFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUCoreApplicationFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUCoreApplicationFuncs
impl Send for RUCoreApplicationFuncs
impl Sync for RUCoreApplicationFuncs
impl Unpin for RUCoreApplicationFuncs
impl UnwindSafe for RUCoreApplicationFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more