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§
Source§impl NthIndexCache
impl NthIndexCache
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
Auto Trait Implementations§
impl Freeze for NthIndexCache
impl RefUnwindSafe for NthIndexCache
impl Send for NthIndexCache
impl !Sync for NthIndexCache
impl Unpin for NthIndexCache
impl UnwindSafe for NthIndexCache
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more