Expand description
Compute lines on simple text.
The input is a single &str
.
Computed rows will include start/end byte offsets in the input string.
Structs
Generates rows of text in constrained width.
Represents a row of text within a String
.
The length and width of a part of a string.
Functions
Compute lines for the given content and width.
Computes a prefix that fits in the given width
.
Computes the longest prefix that fits in the given width.
Computes the longest suffix that fits in the given width
.
Computes the longest suffix that fits in the given width
.