But how do you use it?SomeObject!(Options(true, false, 42, "guess what this does"))
Yes, or if you want something more readable:enum Options options = { foo: true, bar: false, a: 42, b: "guess what this does" };
SomeObject!options o; -- /Jacob Carlborg