Enum usiagent::command::UsiCommand [−][src]
pub enum UsiCommand {
UsiOk,
UsiId(String, String),
UsiReadyOk,
UsiBestMove(BestMove),
UsiInfo(Vec<UsiInfoSubCommand>),
UsiOption(String, UsiOptType),
UsiCheckMate(CheckMate),
}
Expand description
USIプロトコル準拠のコマンド
Variants
usiok
id name {name}, id author {author}
readyok
UsiBestMove(BestMove)
bestmove
Tuple Fields of UsiBestMove
0: BestMove
UsiInfo(Vec<UsiInfoSubCommand>)
info
Tuple Fields of UsiInfo
0: Vec<UsiInfoSubCommand>
UsiOption(String, UsiOptType)
option
Tuple Fields of UsiOption
0: String
1: UsiOptType
UsiCheckMate(CheckMate)
checkmate
Tuple Fields of UsiCheckMate
0: CheckMate
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.