Skip to main content

from_digit

Function from_digit 

1.6.0 (const: 1.67.0) ยท Source
pub const fn from_digit(num: u32, radix: u32) -> Option<char>
๐Ÿ‘ŽDeprecating in a future version:

replaced by the from_digit method on char

Expand description

Converts a digit in the given radix to a char. Use char::from_digit instead.