Skip to main content
char_index_from_byte_index
egui
0.36.2
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:
ByteIndex
, ) ->
CharIndex