Skip to main content

string_width

Function string_width 

Source
pub fn string_width(s: &str) -> usize
Expand description

Get the visible width of a string (excluding escape codes).