pub fn hex_u32<S: AsRef<str> + Into<String>>(s: S) -> Result<u32, ParseIntError>
Parses a u32 from a hex string.
u32
Input string may or may not contain a 0x prefix.
0x