There are two types of strings in Rust: String and &str . A String is stored as a vector of bytes ( Vec<u8> ), but guaranteed to always be a valid UTF- ...
確定! 回上一頁