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

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

The selector didn't match.