Error code E0616
Attempted to access a private field on a struct.
Erroneous code example:
ⓘ
If you want to access this field, you have two options:
- Set the field public:
- Add a getter function:
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Attempted to access a private field on a struct.
Erroneous code example:
ⓘ
If you want to access this field, you have two options: