Function build_selector_list

Source
pub fn build_selector_list(
    selector: &str,
) -> Result<SelectorList<InnerSelector>, ParseError<'_, SelectorParseErrorKind<'_>>>
Expand description

Parse and build a SelectorList from an arbitrary string.

It is used in functions selecting elements like TreeRef::select.

ยงErrors

Returns an error if the CSS selector is malformed.