Function parse_ value
pub fn parse_value(parameter: &Parameter<'_>, text: &str) -> Option<f32>Expand description
Parse text written by write_value or typed by a user: a number with an
optional unit suffix, or On/Off for switches. The result is
clamped and snapped to the parameter’s range.