AH.
Wth.
I dont think i have seen any language accepting that.
So i understand your point.
Struct comes from C for handling complex data, so even if this works, i still recommend classes for "living" objects and structs for data only 😅
I agree with Infokub, and using methods in a struct can be a good way to return special data from what is inside the struct, and you can also overload operators (which can be useful to compare/sort/whatever structs data!)