Unfortunately this kind of iterator isn't supported by the Rust Iterator trait. See Returning borrowed values from an iterator Reddit - Dive into anything and Reddit - Dive into anything for previous discussion.
Unfortunately this kind of iterator isn't supported by the Rust Iterator trait. See Returning borrowed values from an iterator Reddit - Dive into anything and Reddit - Dive into anything for previous discussion.