#[derive(Miniconf)]Expand description
Derive the Miniconf trait for custom types.
Each field of the struct will be recursively used to construct a unique path for all elements.
All settings paths are similar to file-system paths with variable names separated by forward slashes.
For arrays, the array index is treated as a unique identifier. That is, to access the first
element of array test, the path would be test/0.
Example
#[derive(Miniconf)]
struct Nested {
data: [u32; 2],
}
#[derive(Miniconf)]
struct Settings {
// Accessed with path `nested/data/0` or `nested/data/1`
nested: Nested,
// Accessed with path `external`
external: bool,
}