Struct selectors::context::SelectorCaches
source · pub struct SelectorCaches {
pub nth_index: NthIndexCache,
pub relative_selector: RelativeSelectorCache,
pub relative_selector_filter_map: RelativeSelectorFilterMap,
}
Expand description
Set of caches (And cache-likes) that speed up expensive selector matches.
Fields§
§nth_index: NthIndexCache
A cache to speed up nth-index-like selectors.
relative_selector: RelativeSelectorCache
A cache to speed up relative selector matches. See module documentation.
relative_selector_filter_map: RelativeSelectorFilterMap
A map of bloom filters to fast-reject relative selector matches.
Trait Implementations§
source§impl Default for SelectorCaches
impl Default for SelectorCaches
source§fn default() -> SelectorCaches
fn default() -> SelectorCaches
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SelectorCaches
impl RefUnwindSafe for SelectorCaches
impl Send for SelectorCaches
impl Sync for SelectorCaches
impl Unpin for SelectorCaches
impl UnwindSafe for SelectorCaches
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