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