Crate text_layout

source ·

Structs§

  • Runs the first-fit line-breaking algorithm to calculate the break points for a paragraph.
  • Wraps a signed fixed-point number. All operations are saturating so that the underlying representation’s minimum and maximum values are able to stand in for -∞ and +∞.
  • Runs the Knuth-Plass line-breaking algorithm to calculate the optimal break points for a paragraph.
  • A single line of text as represented by its break point and adjustment ratio.

Enums§

  • A single item in a paragraph.

Traits§

  • A trait that describes the operations necessary for this crate’s layout algorithms.
  • Represents a paragraph layout algorithm