在Rust 中,一些简单类型是“隐式可复制的”,当您分配它们或将它们作为参数传递时, ... let s = String::new(); // String 类型实现Clone let copy = s.clone(); ...
確定! 回上一頁