Function cssparser::rules_and_declarations::parse_one_rule

source ·
pub fn parse_one_rule<'i, 't, R, P, E>(
    input: &mut Parser<'i, 't>,
    parser: &mut P,
) -> Result<R, ParseError<'i, E>>
where P: QualifiedRuleParser<'i, QualifiedRule = R, Error = E> + AtRuleParser<'i, AtRule = R, Error = E>,
Expand description

Parse a single rule, such as for CSSOM’s CSSStyleSheet.insertRule.