Skip to main content

wrap_word_chunks

Function wrap_word_chunks 

Source
fn wrap_word_chunks(line: &str, width: usize, fallback_to_glyph: bool) -> usize
Expand description

Wraps the given line at word boundaries, falling back to grapheme splitting for words wider than the width when enabled.