#[repr(C)]
pub struct RUAbstractButtonFuncs {
Show 48 fields pub set_text: extern "C" fn(self_c: *const RUBase, text: *const c_char), pub text: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub set_icon: extern "C" fn(self_c: *const RUBase, icon: *const RUBase), pub icon: extern "C" fn(self_c: *const RUBase) -> RUIcon, pub icon_size: extern "C" fn(self_c: *const RUBase) -> RUSize, pub set_shortcut: extern "C" fn(self_c: *const RUBase, key: *const RUBase), pub shortcut: extern "C" fn(self_c: *const RUBase) -> RUKeySequence, pub set_checkable: extern "C" fn(self_c: *const RUBase, arg0: bool), pub is_checkable: extern "C" fn(self_c: *const RUBase) -> bool, pub is_checked: extern "C" fn(self_c: *const RUBase) -> bool, pub set_down: extern "C" fn(self_c: *const RUBase, arg0: bool), pub is_down: extern "C" fn(self_c: *const RUBase) -> bool, pub set_auto_repeat: extern "C" fn(self_c: *const RUBase, arg0: bool), pub auto_repeat: extern "C" fn(self_c: *const RUBase) -> bool, pub set_auto_repeat_delay: extern "C" fn(self_c: *const RUBase, arg0: i32), pub auto_repeat_delay: extern "C" fn(self_c: *const RUBase) -> i32, pub set_auto_repeat_interval: extern "C" fn(self_c: *const RUBase, arg0: i32), pub auto_repeat_interval: extern "C" fn(self_c: *const RUBase) -> i32, pub set_auto_exclusive: extern "C" fn(self_c: *const RUBase, arg0: bool), pub auto_exclusive: extern "C" fn(self_c: *const RUBase) -> bool, pub group: extern "C" fn(self_c: *const RUBase) -> RUButtonGroup, pub set_icon_size: extern "C" fn(self_c: *const RUBase, size: *const RUBase), pub animate_click: extern "C" fn(self_c: *const RUBase, msec: i32), pub click: extern "C" fn(self_c: *const RUBase), pub toggle: extern "C" fn(self_c: *const RUBase), pub set_checked: extern "C" fn(self_c: *const RUBase, arg0: bool), pub set_pressed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub set_released_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub set_clicked_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub set_toggled_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub set_paint_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_paint_event: extern "C" fn(object: *const RUBase), pub set_key_press_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_key_press_event: extern "C" fn(object: *const RUBase), pub set_key_release_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_key_release_event: extern "C" fn(object: *const RUBase), pub set_mouse_press_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_mouse_press_event: extern "C" fn(object: *const RUBase), pub set_mouse_release_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_mouse_release_event: extern "C" fn(object: *const RUBase), pub set_mouse_move_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_mouse_move_event: extern "C" fn(object: *const RUBase), pub set_focus_in_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_focus_in_event: extern "C" fn(object: *const RUBase), pub set_focus_out_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_focus_out_event: extern "C" fn(object: *const RUBase), pub set_change_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_change_event: extern "C" fn(object: *const RUBase),
}

Fields

set_text: extern "C" fn(self_c: *const RUBase, text: *const c_char)text: extern "C" fn(self_c: *const RUBase) -> *const c_charset_icon: extern "C" fn(self_c: *const RUBase, icon: *const RUBase)icon: extern "C" fn(self_c: *const RUBase) -> RUIconicon_size: extern "C" fn(self_c: *const RUBase) -> RUSizeset_shortcut: extern "C" fn(self_c: *const RUBase, key: *const RUBase)shortcut: extern "C" fn(self_c: *const RUBase) -> RUKeySequenceset_checkable: extern "C" fn(self_c: *const RUBase, arg0: bool)is_checkable: extern "C" fn(self_c: *const RUBase) -> boolis_checked: extern "C" fn(self_c: *const RUBase) -> boolset_down: extern "C" fn(self_c: *const RUBase, arg0: bool)is_down: extern "C" fn(self_c: *const RUBase) -> boolset_auto_repeat: extern "C" fn(self_c: *const RUBase, arg0: bool)auto_repeat: extern "C" fn(self_c: *const RUBase) -> boolset_auto_repeat_delay: extern "C" fn(self_c: *const RUBase, arg0: i32)auto_repeat_delay: extern "C" fn(self_c: *const RUBase) -> i32set_auto_repeat_interval: extern "C" fn(self_c: *const RUBase, arg0: i32)auto_repeat_interval: extern "C" fn(self_c: *const RUBase) -> i32set_auto_exclusive: extern "C" fn(self_c: *const RUBase, arg0: bool)auto_exclusive: extern "C" fn(self_c: *const RUBase) -> boolgroup: extern "C" fn(self_c: *const RUBase) -> RUButtonGroupset_icon_size: extern "C" fn(self_c: *const RUBase, size: *const RUBase)animate_click: extern "C" fn(self_c: *const RUBase, msec: i32)click: extern "C" fn(self_c: *const RUBase)toggle: extern "C" fn(self_c: *const RUBase)set_checked: extern "C" fn(self_c: *const RUBase, arg0: bool)set_pressed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)set_released_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)set_clicked_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)set_toggled_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)set_paint_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_paint_event: extern "C" fn(object: *const RUBase)set_key_press_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_key_press_event: extern "C" fn(object: *const RUBase)set_key_release_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_key_release_event: extern "C" fn(object: *const RUBase)set_mouse_press_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_mouse_press_event: extern "C" fn(object: *const RUBase)set_mouse_release_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_mouse_release_event: extern "C" fn(object: *const RUBase)set_mouse_move_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_mouse_move_event: extern "C" fn(object: *const RUBase)set_focus_in_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_focus_in_event: extern "C" fn(object: *const RUBase)set_focus_out_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_focus_out_event: extern "C" fn(object: *const RUBase)set_change_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_change_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.