Enum css::selectors::matching::CompoundSelectorMatchingResult
[−]
[src]
pub enum CompoundSelectorMatchingResult { Matched { next_combinator_offset: usize, }, NotMatched, }
Whether a compound selector matched, and whether it was the rightmost selector inside the complex selector.
Variants
Matched
The compound selector matched, and the next combinator offset is
next_combinator_offset
.
If the next combinator offset is zero, it means that it's the rightmost selector.
Fields of Matched
next_combinator_offset: usize |
NotMatched
The selector didn't match.