toss/examples
Joscha 26a8936cf5 Store Styled with contiguous string
The previous implementation of Styled used chunks that consisted of a
String and a ContentStyle. The current implementation instead stores a
single String and chunks consisting of a ContentStyle and an ending
index.

This implementation may reduce allocations and makes width-related
operations easier, for example getting the width of a Styled with its
whitespace trimmed.
2022-08-01 19:02:57 +02:00
..
hello_world.rs Use styled chunks of text instead of plain strings 2022-07-04 19:38:28 +02:00
overlapping_graphemes.rs Use styled chunks of text instead of plain strings 2022-07-04 19:38:28 +02:00
text_wrapping.rs Store Styled with contiguous string 2022-08-01 19:02:57 +02:00