FlashcardBeginner
Accessing and Modifying Struct Fields
Use dot notation to read fields and `mut` to change them.
Question
How do you access and modify a struct's fields?
Click to reveal answer
Use dot notation to read fields and `mut` to change them.
How do you access and modify a struct's fields?