Expand description
Algorithm-neutral output types for the style-chunking pipeline.
StyleGroups is the cell type both algorithms — the default (“loose”) one in
super::style_groups_loose and the graph-based one in super::style_groups_graph —
produce. Living here means neither algorithm has to import from the other.
Structs§
- F32Task
Input - Wrapper around an
f32that implements [TaskInput] (and the other derives theStyleGroupsAlgorithmenum needs) by going through the IEEE-754 bit pattern. UseF32TaskInput::get/F32TaskInput::fromat the boundary; do not match on the inneru32directly. - Style
Groups - Styling must not be duplicated in the application. The simplest way to achieve this is to put
every styling chunk item into a separate chunk. That works, but isn’t efficient since it would
cause a lot of requests. Instead, multiple chunk items are grouped together and placed in a
single shared chunk.
StyleGroupsspecifies how chunk items are grouped together. - Style
Groups Config - Style
Item Info - Per-item metadata produced by the style chunking algorithms.
Enums§
- Style
Groups Algorithm - Selects the algorithm used to compute
StyleGroups.