Struct rute::auto::push_button_ffi::RUPushButtonFuncs
source · #[repr(C)]pub struct RUPushButtonFuncs {Show 14 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub auto_default: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_auto_default: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub is_default: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_default: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub set_flat: extern "C" fn(self_c: *const RUBase, arg0: bool),
pub is_flat: extern "C" fn(self_c: *const RUBase) -> bool,
pub show_menu: extern "C" fn(self_c: *const RUBase),
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_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),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
auto_default: extern "C" fn(self_c: *const RUBase) -> bool
set_auto_default: extern "C" fn(self_c: *const RUBase, arg0: bool)
is_default: extern "C" fn(self_c: *const RUBase) -> bool
set_default: extern "C" fn(self_c: *const RUBase, arg0: bool)
set_flat: extern "C" fn(self_c: *const RUBase, arg0: bool)
is_flat: extern "C" fn(self_c: *const RUBase) -> bool
set_text: extern "C" fn(self_c: *const RUBase, text: *const c_char)
text: extern "C" fn(self_c: *const RUBase) -> *const c_char
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)
Trait Implementations
sourceimpl Clone for RUPushButtonFuncs
impl Clone for RUPushButtonFuncs
sourcefn clone(&self) -> RUPushButtonFuncs
fn clone(&self) -> RUPushButtonFuncs
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 RUPushButtonFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUPushButtonFuncs
impl Send for RUPushButtonFuncs
impl Sync for RUPushButtonFuncs
impl Unpin for RUPushButtonFuncs
impl UnwindSafe for RUPushButtonFuncs
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