[−][src]Module textwrap::word_splitters
Word splitting functionality.
To wrap text into lines, long words sometimes need to be split
across lines. The WordSplitter trait defines this
functionality. HyphenSplitter is the default implementation of
this treat: it will simply split words on existing hyphens.
Structs
| HyphenSplitter | Simple and default way to split words: splitting on existing hyphens only. |
| NoHyphenation | Use this as a |
Traits
| WordSplitter | The |
Functions
| split_words | Split words into smaller words according to the split points given
by |