下面是一段使用Rust 標準函式庫內hash map 的範例。這裏我們使用i32 當作key,String 當作value。由於Rust 型別推斷的能力,我們在建立HashMap ...
確定! 回上一頁