Skip to content

Glossary: Rust Beyond the Basics

iter, iter_mut, into_iter

Also written: iter(), iter_mut(), into_iter()

The three ways to get an iterator from a `Vec`: lend each item for reading, lend each item to change, or hand over the items themselves and use up the Vec.

Where the book teaches it

Related terms

Iterator