Skip to main contentModule settings
Source - Desc
- a key of a schema (Key::d)
- Key
- a typed key: its description (d) and the Rust type of its value
- Schema
- the keys of a settings file, its format version, the page’s section titles and the
migration of older files
- Settings
- typed settings over a file (see the module header)
- Kind
- what a key holds, with its default and limits
- Val
- a value of a key
- KF_HIDDEN
- Desc::flags: not on the settings page
- KF_RESTART
- Desc::flags: takes effect after a restart (the page says so)
- Value
- the Rust types a key can have: bool, i64, f64, String, usize (choice), u32 (colour)
- rename
- for migrations: move a value from one name to another (“section.key”); false: not there
- split
- “section.key” -> (section, key); no ‘.’: (“”, name)