egui
0.30.0
In egui::
text_
selection::
text_
cursor_
state
Structs
TextCursorState
Functions
byte_index_from_char_index
ccursor_next_word
ccursor_previous_word
cursor_rect
find_line_start
is_word_char
slice_char_range
egui
::
text_selection
::
text_cursor_state
Function
byte_index_from_char_index
Copy item path
Settings
Help
Summary
Source
pub fn byte_index_from_char_index(s: &
str
, char_index:
usize
) ->
usize