Struct rute::auto::tool_button_ffi::RUToolButtonFuncs
source · #[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)
arrow_type: extern "C" fn(self_c: *const RUBase) -> u32
set_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) -> u32
auto_raise: extern "C" fn(self_c: *const RUBase) -> bool
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
sourceimpl Clone for RUToolButtonFuncs
impl Clone for RUToolButtonFuncs
sourcefn clone(&self) -> RUToolButtonFuncs
fn clone(&self) -> RUToolButtonFuncs
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 RUToolButtonFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUToolButtonFuncs
impl Send for RUToolButtonFuncs
impl Sync for RUToolButtonFuncs
impl Unpin for RUToolButtonFuncs
impl UnwindSafe for RUToolButtonFuncs
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