Crate selectors

Source

Re-exportsยง

pub use crate::parser::Parser;
pub use crate::parser::SelectorImpl;
pub use crate::parser::SelectorList;

Modulesยง

attr
bloom
Counting and non-counting Bloom filters tuned for use as ancestor filters for selector matching.
builder ๐Ÿ”’
Helper module to build up a selector safely and efficiently.
context
kleene_value
Kleen logic: https://en.wikipedia.org/wiki/Three-valued_logic#Kleene_and_Priest_logics
matching
nth_index_cache ๐Ÿ”’
parser
relative_selector
sink
Small helpers to abstract over different containers.
tree ๐Ÿ”’
Traits that nodes must implement. Breaks the otherwise-cyclic dependency between layout and style.
visitor
Visitor traits for selectors.

Structsยง

NthIndexCache
A cache to speed up matching of nth-index-like selectors.
OpaqueElement
Opaque representation of an Element, for identity comparisons.

Traitsยง

Element