We'd really appreciate having config::DefaultOptions::new() be const, so we can define our configuration as a static (or const) value.
Even better would be to implement const inherent methods duplicating the Options trait, so that an arbitrary configuration can be stored in a static value.
We'd really appreciate having
config::DefaultOptions::new()
be const, so we can define our configuration as astatic
(orconst
) value.Even better would be to implement const inherent methods duplicating the
Options
trait, so that an arbitrary configuration can be stored in astatic
value.