impl Trait. 如果函数返回实现了 MyTrait 的类型,可以将其返回类型编写为 -> impl MyTrait 。这可以大大简化你的类型签名! use std::iter;. use std::vec::IntoIter;.
確定! 回上一頁