egui
0.32.0
In egui::
text_
selection::
text_
cursor_
state
egui
::
text_selection
::
text_cursor_state
Function
char_index_from_byte_index
Copy item path
Source
pub fn char_index_from_byte_index(input: &
str
, byte_index:
usize
) ->
usize