QuizBeginner
Accessing Struct Fields
Learn how dot notation is used to read a value from a struct field.
Given an instance `u` of `User { name: String, age: u32 }`, how do you read its `age` field?
Learn how dot notation is used to read a value from a struct field.
Given an instance `u` of `User { name: String, age: u32 }`, how do you read its `age` field?