Skip to main content

matches_compound

Function matches_compound 

Source
pub fn matches_compound(
    node: &dyn Matchable,
    compound: &CompoundSelector,
) -> bool
Expand description

Test if a single node matches a compound selector (tag + attributes).