Module cursive::utils
[−]
[src]
Toolbox to make text layout easier.
Structs
LinesIterator |
Generates rows of text in constrained width. |
Prefix |
The length and width of a part of a string. |
ProgressReader |
Wrapper around a |
Row |
Represents a row of text within a |
Functions
prefix |
Computes the length (number of bytes) and width of a prefix that fits in the given |
simple_suffix |
Computes the length (number of bytes) and width of a suffix that fits in the given |
suffix |
Computes the length (number of bytes) and width of a suffix that fits in the given |