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: BestMoveUsiInfo(Vec<UsiInfoSubCommand>)info
Tuple Fields of UsiInfo
0: Vec<UsiInfoSubCommand>UsiOption(String, UsiOptType)option
Tuple Fields of UsiOption
0: String1: UsiOptTypeUsiCheckMate(CheckMate)checkmate
Tuple Fields of UsiCheckMate
0: CheckMateTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.