pub fn char_width(c: char) -> usizeExpand description
Columns a single char occupies, using Width::DEFAULT.
Remember that a char is not a user-perceived character; prefer width
for real text.
pub fn char_width(c: char) -> usizeColumns a single char occupies, using Width::DEFAULT.
Remember that a char is not a user-perceived character; prefer width
for real text.