pub fn cell_text(text: Cow<'_, str>, g: &Glyphs, cells: usize) -> StringExpand description
preview of the start of text that covers more than cells cells,
ending in the ellipsis when cut: a cell draws only its start, and measuring
a huge value whole costs what the value costs. Drawn at cells or fewer, it
reads and measures as the whole value would. An owned text that needs
neither cut nor mark is kept, not copied.