If I define a non-default constructor for a struct, are the fields initialized to T.init by the time it's called? or am I responsible for initializing all fields in that constructor?

..or do structs follow the same rules as classes?
https://dlang.org/spec/class.html#field-init

  Thanks

Reply via email to