lexical_util::digit

Function char_to_digit

Source
pub const fn char_to_digit(c: u8, radix: u32) -> Option<u32>
Expand description

Convert a character to a digit.