Rust 语言,标准库和生态系统介绍. ... 该 Extend trait 是说,不需要一个循环,就可以让迭代器的值添加到一个Vec 中: v.extend([60,70,80].iter()); let mut strings ...
確定! 回上一頁