fn parse_num_or_percentage_clamped(parser: &mut Parser<'_, '_>) -> Option<f64>
Expand description

Reads an optional number or percentage from the parser, returning a value clamped to [0, 1]. Negative numbers are not allowed.