Expand description
Memoized style cache for resolved ComputedStyle values.
StyleCache wraps a CompiledStyleSheet and caches the result of
CompiledStyleSheet::compute_style per (widget_type, classes, id, generation) key. When the stylesheet’s generation changes the cache is
automatically invalidated and rebuilt on the next access.
Structs§
- Style
Cache - Memoizes
ComputedStyleper(widget_type, classes, id, stylesheet_generation).