Function egui::text_selection::text_cursor_state::cursor_rect

source ยท
pub fn cursor_rect(
    galley_pos: Pos2,
    galley: &Galley,
    cursor: &Cursor,
    row_height: f32,
) -> Rect
Expand description

The thin rectangle of one end of the selection, e.g. the primary cursor.