对于其他类型,必须显式地进行复制,通过实现Clone特征并调用clone方法。 基本用法示例: let s = String::new(); // String type implements Clone let copy = s.clone(); ...
確定! 回上一頁