Skip to main content

string_width_with

Function string_width_with 

Source
pub fn string_width_with(input: &str, opts: Options) -> usize
Expand description

Returns the visual column width of input using the given options.

Equivalent to stringWidth(input, options) from string-width@8.