Understanding of mutable struct

I’ve edited your post to quote the code, making it more readable. Please see

for details on how to quote your code yourself.