Error code E0451
A struct constructor with private fields was invoked.
Erroneous code example:
ⓘ
To fix this error, please ensure that all the fields of the struct are public, or implement a function for easy instantiation. Examples:
Or:
A struct constructor with private fields was invoked.
Erroneous code example:
ⓘ
To fix this error, please ensure that all the fields of the struct are public, or implement a function for easy instantiation. Examples:
Or: