Open
Description
Structs are really a view on top of memory. They do not have constructors, their instances are invented by the VM in the FFI. Those instances happen to implement the abstract interface of the struct. They do not have normal fields, only the getters and setters to C memory. They cannot be sub typed.
However, currently we do allow methods on those classes. But they add nothing over extension methods from a user point of view, because they work based on the core interface, and we do not allow sub typing. But they do add complexity.