Access iterator in for loop; refactorings not working; mutable referance to non-mutable object; sharing large base class


Continuing the discussion from Rust beginner notes & questions:

This post started out combining issues, so is kept as such. Main topic of this thread is issues 1 to 4 of the below post, preferably create and link new topic on each when replying.

Rust beginner notes & questions