A way to define structs outside a module?

Is there a way to a way to define structs outside a module?

No, structs are always tied to a module.

2 Likes

In fact code can’t exist without a module when it’s compiled, so I’m unsure where it would even go. ^.^;

3 Likes