Struct style::rule_cache::RuleCache [] [src]

pub struct RuleCache { /* fields omitted */ }

A TLS cache from rules matched to computed values.

Methods

impl RuleCache
[src]

[src]

Creates an empty RuleCache.

[src]

Finds a node in the properties matched cache.

This needs to receive a StyleBuilder with the early properties already applied.

[src]

Inserts a node into the rules cache if possible.

Returns whether the style was inserted into the cache.