#[repr(C)]
pub struct RUToolButtonFuncs {
Show 21 fields pub destroy: extern "C" fn(self_c: *const RUBase), pub tool_button_style: extern "C" fn(self_c: *const RUBase) -> u32, pub arrow_type: extern "C" fn(self_c: *const RUBase) -> u32, pub set_arrow_type: extern "C" fn(self_c: *const RUBase, arrow_type: u32), pub set_popup_mode: extern "C" fn(self_c: *const RUBase, mode: u32), pub popup_mode: extern "C" fn(self_c: *const RUBase) -> u32, pub auto_raise: extern "C" fn(self_c: *const RUBase) -> bool, pub show_menu: extern "C" fn(self_c: *const RUBase), pub set_tool_button_style: extern "C" fn(self_c: *const RUBase, style: u32), 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_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_enter_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_enter_event: extern "C" fn(object: *const RUBase), pub set_leave_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_leave_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

destroy: extern "C" fn(self_c: *const RUBase)tool_button_style: extern "C" fn(self_c: *const RUBase) -> u32arrow_type: extern "C" fn(self_c: *const RUBase) -> u32set_arrow_type: extern "C" fn(self_c: *const RUBase, arrow_type: u32)set_popup_mode: extern "C" fn(self_c: *const RUBase, mode: u32)popup_mode: extern "C" fn(self_c: *const RUBase) -> u32auto_raise: extern "C" fn(self_c: *const RUBase) -> boolshow_menu: extern "C" fn(self_c: *const RUBase)set_tool_button_style: extern "C" fn(self_c: *const RUBase, style: u32)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_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_enter_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_enter_event: extern "C" fn(object: *const RUBase)set_leave_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_leave_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.