Function selectors::matching::nth_child_index

source ยท
fn nth_child_index<E>(
    element: &E,
    context: &mut MatchingContext<'_, E::Impl>,
    selectors: &[Selector<E::Impl>],
    is_of_type: bool,
    is_from_end: bool,
    check_cache: bool,
    rightmost: SubjectOrPseudoElement,
) -> i32
where E: Element,