Skip to main content

get_cursor_x_for_offset

Function get_cursor_x_for_offset 

Source
pub fn get_cursor_x_for_offset(
    text: &AnnotatedString,
    style: &TextStyle,
    offset: usize,
) -> f32
Expand description

Re-export the UI crate so applications can depend on a single crate.