pub trait IntoIterator { type Item; type IntoIter: Iterator; fn into_iter(self) ... IntoIterator is that your type will work with Rust's for loop syntax.
確定! 回上一頁