Function style::color::parsing::parse_number_or_angle

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

Parse an <number> or <angle> value.