Module style::selector_map
source · [−]Expand description
A data structure to efficiently index structs containing selectors by local name, ids and hash.
Structs
Wrapper for PrecomputedHashMap that does ASCII-case-insensitive lookup in quirks mode.
A hasher implementation that doesn’t hash anything, because it expects its input to be a suitable u32 hash.
Map element data to selector-providing objects for which the last simple selector starts with them.
Enums
Bucket 🔒
Traits
A trait to abstract over a given selector map entry.
Functions
Searches a compound selector from left to right, and returns the appropriate bucket for it.
Type Definitions
A simple alias for a hashmap using PrecomputedHasher.
A simple alias for a hashset using PrecomputedHasher.