Enum usiagent::command::UsiOptType [−][src]
pub enum UsiOptType {
Check(Option<bool>),
Spin(i64, i64, Option<i64>),
Combo(Option<String>, Vec<String>),
Button,
String(Option<String>),
FileName(Option<String>),
}
Expand description
optionコマンドの値
Variants
check
デフォルト値としてtrueかfalseを指定可能
spin
min,max,デフォルト値(オプション)を指定
combo
デフォルト値、項目のVecを指定。項目は一つ以上なければならない。
button
string
デフォルト値を指定可能
filename
デフォルト値を指定可能
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UsiOptType
impl Send for UsiOptType
impl Sync for UsiOptType
impl Unpin for UsiOptType
impl UnwindSafe for UsiOptType
Blanket Implementations
Mutably borrows from an owned value. Read more