Function const_units::si_checked

source ·
pub const fn si_checked(units: &str) -> Result<SI, ParseError<'_>>
Expand description

Parses a string as SI units, returns an error if the string can’t be parsed.