Allow initialization as a field
This sets the field as having been set, so that:
struct Config { SetInfo!Duration timeout; } Config myConf = { timeout: 10.minutes }
Will behave as if set explicitly. If this behavior is not wanted, pass false as second argument:
Config myConf = { timeout: SetInfo!Duration(10.minutes, false) }
See Implementation
Allow initialization as a field
This sets the field as having been set, so that:
Will behave as if set explicitly. If this behavior is not wanted, pass false as second argument: