A struct in Rust is a way for the user to define any data type. Here's an example: struct Config { name: String, id: u32 }.
確定! 回上一頁