#[repr(C)]
pub struct RULineEditFuncs {
Show 92 fields pub destroy: extern "C" fn(self_c: *const RUBase), pub text: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub display_text: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub placeholder_text: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub set_placeholder_text: extern "C" fn(self_c: *const RUBase, arg0: *const c_char), pub max_length: extern "C" fn(self_c: *const RUBase) -> i32, pub set_max_length: extern "C" fn(self_c: *const RUBase, arg0: i32), pub set_frame: extern "C" fn(self_c: *const RUBase, arg0: bool), pub has_frame: extern "C" fn(self_c: *const RUBase) -> bool, pub set_clear_button_enabled: extern "C" fn(self_c: *const RUBase, enable: bool), pub is_clear_button_enabled: extern "C" fn(self_c: *const RUBase) -> bool, pub echo_mode: extern "C" fn(self_c: *const RUBase) -> u32, pub set_echo_mode: extern "C" fn(self_c: *const RUBase, arg0: u32), pub is_read_only: extern "C" fn(self_c: *const RUBase) -> bool, pub set_read_only: extern "C" fn(self_c: *const RUBase, arg0: bool), pub cursor_position: extern "C" fn(self_c: *const RUBase) -> i32, pub set_cursor_position: extern "C" fn(self_c: *const RUBase, arg0: i32), pub cursor_position_at: extern "C" fn(self_c: *const RUBase, pos: *const RUBase) -> i32, pub set_alignment: extern "C" fn(self_c: *const RUBase, flag: u32), pub alignment: extern "C" fn(self_c: *const RUBase) -> u32, pub cursor_forward: extern "C" fn(self_c: *const RUBase, mark: bool, steps: i32), pub cursor_backward: extern "C" fn(self_c: *const RUBase, mark: bool, steps: i32), pub cursor_word_forward: extern "C" fn(self_c: *const RUBase, mark: bool), pub cursor_word_backward: extern "C" fn(self_c: *const RUBase, mark: bool), pub backspace: extern "C" fn(self_c: *const RUBase), pub del: extern "C" fn(self_c: *const RUBase), pub home: extern "C" fn(self_c: *const RUBase, mark: bool), pub end: extern "C" fn(self_c: *const RUBase, mark: bool), pub is_modified: extern "C" fn(self_c: *const RUBase) -> bool, pub set_modified: extern "C" fn(self_c: *const RUBase, arg0: bool), pub set_selection: extern "C" fn(self_c: *const RUBase, arg0: i32, arg1: i32), pub has_selected_text: extern "C" fn(self_c: *const RUBase) -> bool, pub selected_text: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub selection_start: extern "C" fn(self_c: *const RUBase) -> i32, pub selection_end: extern "C" fn(self_c: *const RUBase) -> i32, pub selection_length: extern "C" fn(self_c: *const RUBase) -> i32, pub is_undo_available: extern "C" fn(self_c: *const RUBase) -> bool, pub is_redo_available: extern "C" fn(self_c: *const RUBase) -> bool, pub set_drag_enabled: extern "C" fn(self_c: *const RUBase, b: bool), pub drag_enabled: extern "C" fn(self_c: *const RUBase) -> bool, pub set_cursor_move_style: extern "C" fn(self_c: *const RUBase, style: u32), pub cursor_move_style: extern "C" fn(self_c: *const RUBase) -> u32, pub input_mask: extern "C" fn(self_c: *const RUBase) -> *const c_char, pub set_input_mask: extern "C" fn(self_c: *const RUBase, input_mask: *const c_char), pub has_acceptable_input: extern "C" fn(self_c: *const RUBase) -> bool, pub set_text_margins: extern "C" fn(self_c: *const RUBase, left: i32, top: i32, right: i32, bottom: i32), pub set_text_margins_2: extern "C" fn(self_c: *const RUBase, margins: *const RUBase), pub text_margins: extern "C" fn(self_c: *const RUBase) -> RUMargins, pub set_text: extern "C" fn(self_c: *const RUBase, arg0: *const c_char), pub clear: extern "C" fn(self_c: *const RUBase), pub select_all: extern "C" fn(self_c: *const RUBase), pub undo: extern "C" fn(self_c: *const RUBase), pub redo: extern "C" fn(self_c: *const RUBase), pub cut: extern "C" fn(self_c: *const RUBase), pub copy: extern "C" fn(self_c: *const RUBase), pub paste: extern "C" fn(self_c: *const RUBase), pub deselect: extern "C" fn(self_c: *const RUBase), pub insert: extern "C" fn(self_c: *const RUBase, arg0: *const c_char), pub set_text_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub set_text_edited_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub set_cursor_position_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub set_return_pressed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub set_editing_finished_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub set_selection_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), 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_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_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_double_click_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_mouse_double_click_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_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_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_drag_enter_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_drag_enter_event: extern "C" fn(object: *const RUBase), pub set_drag_move_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_drag_move_event: extern "C" fn(object: *const RUBase), pub set_drag_leave_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_drag_leave_event: extern "C" fn(object: *const RUBase), pub set_drop_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_drop_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), pub set_context_menu_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void), pub remove_context_menu_event: extern "C" fn(object: *const RUBase),
}

Fields

destroy: extern "C" fn(self_c: *const RUBase)text: extern "C" fn(self_c: *const RUBase) -> *const c_chardisplay_text: extern "C" fn(self_c: *const RUBase) -> *const c_charplaceholder_text: extern "C" fn(self_c: *const RUBase) -> *const c_charset_placeholder_text: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)max_length: extern "C" fn(self_c: *const RUBase) -> i32set_max_length: extern "C" fn(self_c: *const RUBase, arg0: i32)set_frame: extern "C" fn(self_c: *const RUBase, arg0: bool)has_frame: extern "C" fn(self_c: *const RUBase) -> boolset_clear_button_enabled: extern "C" fn(self_c: *const RUBase, enable: bool)is_clear_button_enabled: extern "C" fn(self_c: *const RUBase) -> boolecho_mode: extern "C" fn(self_c: *const RUBase) -> u32set_echo_mode: extern "C" fn(self_c: *const RUBase, arg0: u32)is_read_only: extern "C" fn(self_c: *const RUBase) -> boolset_read_only: extern "C" fn(self_c: *const RUBase, arg0: bool)cursor_position: extern "C" fn(self_c: *const RUBase) -> i32set_cursor_position: extern "C" fn(self_c: *const RUBase, arg0: i32)cursor_position_at: extern "C" fn(self_c: *const RUBase, pos: *const RUBase) -> i32set_alignment: extern "C" fn(self_c: *const RUBase, flag: u32)alignment: extern "C" fn(self_c: *const RUBase) -> u32cursor_forward: extern "C" fn(self_c: *const RUBase, mark: bool, steps: i32)cursor_backward: extern "C" fn(self_c: *const RUBase, mark: bool, steps: i32)cursor_word_forward: extern "C" fn(self_c: *const RUBase, mark: bool)cursor_word_backward: extern "C" fn(self_c: *const RUBase, mark: bool)backspace: extern "C" fn(self_c: *const RUBase)del: extern "C" fn(self_c: *const RUBase)home: extern "C" fn(self_c: *const RUBase, mark: bool)end: extern "C" fn(self_c: *const RUBase, mark: bool)is_modified: extern "C" fn(self_c: *const RUBase) -> boolset_modified: extern "C" fn(self_c: *const RUBase, arg0: bool)set_selection: extern "C" fn(self_c: *const RUBase, arg0: i32, arg1: i32)has_selected_text: extern "C" fn(self_c: *const RUBase) -> boolselected_text: extern "C" fn(self_c: *const RUBase) -> *const c_charselection_start: extern "C" fn(self_c: *const RUBase) -> i32selection_end: extern "C" fn(self_c: *const RUBase) -> i32selection_length: extern "C" fn(self_c: *const RUBase) -> i32is_undo_available: extern "C" fn(self_c: *const RUBase) -> boolis_redo_available: extern "C" fn(self_c: *const RUBase) -> boolset_drag_enabled: extern "C" fn(self_c: *const RUBase, b: bool)drag_enabled: extern "C" fn(self_c: *const RUBase) -> boolset_cursor_move_style: extern "C" fn(self_c: *const RUBase, style: u32)cursor_move_style: extern "C" fn(self_c: *const RUBase) -> u32input_mask: extern "C" fn(self_c: *const RUBase) -> *const c_charset_input_mask: extern "C" fn(self_c: *const RUBase, input_mask: *const c_char)has_acceptable_input: extern "C" fn(self_c: *const RUBase) -> boolset_text_margins: extern "C" fn(self_c: *const RUBase, left: i32, top: i32, right: i32, bottom: i32)set_text_margins_2: extern "C" fn(self_c: *const RUBase, margins: *const RUBase)text_margins: extern "C" fn(self_c: *const RUBase) -> RUMarginsset_text: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)clear: extern "C" fn(self_c: *const RUBase)select_all: extern "C" fn(self_c: *const RUBase)undo: extern "C" fn(self_c: *const RUBase)redo: extern "C" fn(self_c: *const RUBase)cut: extern "C" fn(self_c: *const RUBase)copy: extern "C" fn(self_c: *const RUBase)paste: extern "C" fn(self_c: *const RUBase)deselect: extern "C" fn(self_c: *const RUBase)insert: extern "C" fn(self_c: *const RUBase, arg0: *const c_char)set_text_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)set_text_edited_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)set_cursor_position_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)set_return_pressed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)set_editing_finished_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)set_selection_changed_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)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_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_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_double_click_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_mouse_double_click_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_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_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_drag_enter_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_drag_enter_event: extern "C" fn(object: *const RUBase)set_drag_move_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_drag_move_event: extern "C" fn(object: *const RUBase)set_drag_leave_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_drag_leave_event: extern "C" fn(object: *const RUBase)set_drop_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_drop_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)set_context_menu_event: extern "C" fn(object: *const RUBase, user_data: *const c_void, trampoline_func: *const c_void, callback: *const c_void)remove_context_menu_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.