astd::u16

Function from_str_radix10

source
pub const fn from_str_radix10(s: &str) -> u16
Expand description

A small function for forming a u16 from a string at compile-time.

ยงPanics

This function will panic if the input string is not a valid decimal (radix10) string.