pub enum OptionKind {
Check {
default: Option<bool>,
},
Spin {
default: Option<i32>,
min: Option<i32>,
max: Option<i32>,
},
Combo {
default: Option<String>,
vars: Vec<String>,
},
Button {
default: Option<String>,
},
String {
default: Option<String>,
},
Filename {
default: Option<String>,
},
}
Represents a kind of "option" command value.
Fields of Check
Fields of Spin
Fields of Combo
Fields of Button
Fields of String
Fields of Filename
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static