pub fn new(sel: &str) -> Result<Self, ParseError<SelectorParseErrorKind>> {
        let mut input = cssparser::ParserInput::new(sel);
        let mut parser = cssparser::Parser::new(&mut input);
        selectors::parser::SelectorList::parse(&InnerSelectorParser, &mut parser)
            .map(|selector_list| Matcher { selector_list })
    }
/// Greate a new CSS matcher.
Greate a new CSS matcher.
Greate a new CSS matcher .
pub fn new(sel: &str) -> Result<Self, ParseError<SelectorParseErrorKind>> {
        let mut input = cssparser::ParserInput::new(sel);
        let mut parser = cssparser::Parser::new(&mut input);
        selectors::parser::SelectorList::parse(&InnerSelectorParser, &mut parser)
            .map(|selector_list| Matcher { selector_list })
    }
pub fn new ( sel : & str ) -> Result < Self , ParseError < SelectorParseErrorKind > > { let mut input = cssparser :: ParserInput :: new ( sel ) ; let mut parser = cssparser :: Parser :: new ( & mut input ) ; selectors :: parser :: SelectorList :: parse ( & InnerSelectorParser , & mut parser ) . map ( | selector_list | Matcher { selector_list } ) }
Greate a new CSS matcher.
Greate a new CSS matcher .
sel
&str
sel
&str