This will create a &str from the String and pass it in. To convert a single char to an integer in Rust, use . For example u8 has 0 to 2⁸-1, which is 255.
確定! 回上一頁