Structsยง
- Batch
Slicer ๐ - Shaping
Queue ๐ - The
ShapingQueueis responsible for shaping text during inline formatting context construction. It allows for shaping text across inline box boundaries. When pushing items to the queue, if the items are compatible pieces of text that can be shaped together, they are accumulated. The queue may be flushed in the given situations: - Shaping
Queue ๐Text - An entry on the shaping queue that represents text that needs to be shaped.
This contains a lot of duplicated data from
TextRunSegmentso that it can outlive a mutable borrow on the owningTextRun.
Enumsยง
- CssText
Type ๐ - Shaping
Queue ๐Entry - A new entry for the
ShapingQueue.
Functionsยง
- breaks_
for_ ๐break_ spaces - line_
break_ ๐ignored_ for_ keep_ all - suppresses_
line_ ๐break_ for_ keep_ all - From https://drafts.csswg.org/css-text-4/#valdef-word-break-keep-all:
- trailing_
white_ ๐space_ of - Returns a tuple containing the
TrailingWhiteSpacevalues for the text and boolean indicating whether all of the content was white space.