Function style::color::parsing::parse_number

source ยท
fn parse_number<'i, 't>(
    context: &ParserContext<'_>,
    input: &mut Parser<'i, 't>,
    allow_none: bool,
) -> Result<ColorComponent<NumberOrPercentageComponent>, ParseError<'i>>
Expand description

Parse a <number> value.