pub fn wordwrap_mode(
s: &str,
limit: usize,
breakpoints: &str,
mode: WidthMode,
eaw_wide: bool,
) -> StringExpand description
Width-mode variant of wordwrap.
breakpoints is a set of characters where a line may break. mode and eaw_wide control grapheme width calculation; limit == 0 returns the input unchanged.