Skip to main content

cell_preview

Function cell_preview 

Source
pub fn cell_preview(s: &str, g: &Glyphs) -> String
Expand description

preview of the start of s, ending in the ellipsis when cut: a cell draws only its start, and measuring a huge value whole every frame costs what the value costs.