adding an optional argument to struct definition that will be called on the struct after the object is created:

struct Foo(fn) { a : int; }
--equivalent to:
struct Foo { a : int; }
fn(Foo)