Enum usiagent::command::UsiCommand[][src]

pub enum UsiCommand {
    UsiOk,
    UsiId(StringString),
    UsiReadyOk,
    UsiBestMove(BestMove),
    UsiInfo(Vec<UsiInfoSubCommand>),
    UsiOption(StringUsiOptType),
    UsiCheckMate(CheckMate),
}
Expand description

USIプロトコル準拠のコマンド

Variants

UsiOk

usiok

UsiId(StringString)

id name {name}, id author {author}

Tuple Fields of UsiId

0: String1: String
UsiReadyOk

readyok

UsiBestMove(BestMove)

bestmove

Tuple Fields of UsiBestMove

0: BestMove
UsiInfo(Vec<UsiInfoSubCommand>)

info

Tuple Fields of UsiInfo

0: Vec<UsiInfoSubCommand>
UsiOption(StringUsiOptType)

option

Tuple Fields of UsiOption

0: String1: UsiOptType
UsiCheckMate(CheckMate)

checkmate

Tuple Fields of UsiCheckMate

0: CheckMate

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

状態が正しければtrueを、そうでなければfalseを返す

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.