pub struct Reload {
pub label: String,
pub reload_fn: fn() -> Vec<ConfigOptionValue>,
}
Expand description
Defines a reload operation for SelectorConfig
.
Fields§
§label: String
The label for the reload button displayed next to the selector config.
reload_fn: fn() -> Vec<ConfigOptionValue>
The reload function executed when the reload button is pressed. Note that this reload operation is run in a separate invocation of the program, meaning it should not rely on any in-memory state.