#[repr(C)]
pub struct RUObjectFuncs {
Show 20 fields pub destroy: extern "C" fn(self_c: *const RUBase), pub object_name: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub set_object_name: extern "C" fn(self_c: *const RUBase, name: *const c_char), pub is_widget_type: extern "C" fn(self_c: *const RUBase) -> bool, pub is_window_type: extern "C" fn(self_c: *const RUBase) -> bool, pub signals_blocked: extern "C" fn(self_c: *const RUBase) -> bool, pub block_signals: extern "C" fn(self_c: *const RUBase, b: bool) -> bool, pub start_timer: extern "C" fn(self_c: *const RUBase, interval: i32, timer_type: i32) -> i32, pub start_timer_2: extern "C" fn(self_c: *const RUBase, time: u32, timer_type: i32) -> i32, pub kill_timer: extern "C" fn(self_c: *const RUBase, id: i32), pub set_parent: extern "C" fn(self_c: *const RUBase, parent: *const RUBase), pub install_event_filter: extern "C" fn(self_c: *const RUBase, filter_obj: *const RUBase), pub dump_object_tree: extern "C" fn(self_c: *const RUBase), pub dump_object_info: extern "C" fn(self_c: *const RUBase), pub dump_object_tree_2: extern "C" fn(self_c: *const RUBase), pub dump_object_info_2: extern "C" fn(self_c: *const RUBase), pub parent: extern "C" fn(self_c: *const RUBase) -> RUObject, pub delete_later: extern "C" fn(self_c: *const RUBase), pub set_custom_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_custom_event: extern "C" fn(object: *const RUBase),
}

Fields

destroy: extern "C" fn(self_c: *const RUBase)object_name: extern "C" fn(self_c: *const RUBase) -> *const c_charset_object_name: extern "C" fn(self_c: *const RUBase, name: *const c_char)is_widget_type: extern "C" fn(self_c: *const RUBase) -> boolis_window_type: extern "C" fn(self_c: *const RUBase) -> boolsignals_blocked: extern "C" fn(self_c: *const RUBase) -> boolblock_signals: extern "C" fn(self_c: *const RUBase, b: bool) -> boolstart_timer: extern "C" fn(self_c: *const RUBase, interval: i32, timer_type: i32) -> i32start_timer_2: extern "C" fn(self_c: *const RUBase, time: u32, timer_type: i32) -> i32kill_timer: extern "C" fn(self_c: *const RUBase, id: i32)set_parent: extern "C" fn(self_c: *const RUBase, parent: *const RUBase)install_event_filter: extern "C" fn(self_c: *const RUBase, filter_obj: *const RUBase)dump_object_tree: extern "C" fn(self_c: *const RUBase)dump_object_info: extern "C" fn(self_c: *const RUBase)dump_object_tree_2: extern "C" fn(self_c: *const RUBase)dump_object_info_2: extern "C" fn(self_c: *const RUBase)parent: extern "C" fn(self_c: *const RUBase) -> RUObjectdelete_later: extern "C" fn(self_c: *const RUBase)set_custom_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_custom_event: extern "C" fn(object: *const RUBase)

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.