#[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) -> boolset_auto_default: extern "C" fn(self_c: *const RUBase, arg0: bool)is_default: extern "C" fn(self_c: *const RUBase) -> boolset_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) -> boolshow_menu: extern "C" fn(self_c: *const RUBase)set_text: extern "C" fn(self_c: *const RUBase, text: *const c_char)text: extern "C" fn(self_c: *const RUBase) -> *const c_charset_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

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.