And, since it just another type, you can use it in the Player struct. struct Player { name: String, rank: i32, acc_type: PlayerAccountType, }.
確定! 回上一頁