Function egui::text_selection::text_cursor_state::byte_index_from_char_index
source ยท pub fn byte_index_from_char_index(s: &str, char_index: usize) -> usize
pub fn byte_index_from_char_index(s: &str, char_index: usize) -> usize