Is there any way to run a function each time that a struct field is set?
No. You need to provide a setter to do that.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.