Clone. 如果需要完整地複製heap 的資料Rust 也有提供clone 的方法如下, let s1 = String::from("hello"); let s2 = s1.clone(); println!(
確定! 回上一頁