Struct selectors::NthIndexCache
source · pub struct NthIndexCache { /* private fields */ }
Expand description
A cache to speed up matching of nth-index-like selectors.
See [1] for some discussion around the design tradeoffs.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1401855#c3
Implementations§
Trait Implementations§
source§impl Default for NthIndexCache
impl Default for NthIndexCache
source§fn default() -> NthIndexCache
fn default() -> NthIndexCache
Returns the “default value” for a type. Read more