The data that will be saved to the settings file.
The subdirectory of the settings dir to save the config to. Created if nonexistent.
The filename the settings will be saved to.
struct Settings { bool blah; string text; string[] texts; } saveSettings(Settings(true, "some words", ["c", "b", "a"]), "testapp"); assert(loadSettings!Settings("testapp") == Settings(true, "some words", ["c", "b", "a"]));
Saves settings. Uses user's settings dir.