Objects that can be iterated over.
trait Iterator {
type Item;
/* Required methods */
fn next(&mut self) -> Option<<Self as Iterator>::Item>
}| Name | Description |
|---|---|
| Item | The type that the iterator yields. |
| Receiver | Name | Description |
|---|---|---|
&mut self | next | Yields the next value. |