Function selectors::matching::matches_simple_selector
source ยท fn matches_simple_selector<E>(
selector: &Component<E::Impl>,
element: &E,
context: &mut LocalMatchingContext<'_, '_, E::Impl>,
) -> KleeneValuewhere
E: Element,
Expand description
Determines whether the given element matches the given single selector.