所有的迭代器都实现了 Iterator 特性:
Iterator
pub trait Iterator { type Item; // 关联类型 fn next(&mut self) -> Option<Self::Item>; // 返回 None 结束循环 }