Rust 迭代器:从 next 到零成本抽象

从 next 的状态推进出发,理解 Iterator 与 IntoIterator、借用与移动、惰性求值、短路消费,以及迭代器零成本抽象的边界。

2026年11月9日 · 3 分钟 · Hellokitty