☰
In console
?
Function
console
::
measure_text_width
source
·
[
−
]
pub fn measure_text_width(s: &
str
) ->
usize
Expand description
Measure the width of a string in terminal characters.