Enum usiagent::event::SystemEvent[][src]

pub enum SystemEvent {
    Usi,
    IsReady,
    SetOption(StringSysEventOption),
    UsiNewGame,
    Position(TebanUsiInitialPositionu32Vec<Move>),
    Go(UsiGo),
    Stop,
    PonderHit,
    Quit,
    GameOver(GameEndState),
    SendUsiCommand(UsiOutput),
    QuitReady,
}
Expand description

システムイベント

Variants

Usi

usiコマンド受信イベント

IsReady

isreadyコマンド受信イベント

SetOption(StringSysEventOption)

setoptionコマンド受信イベント

Tuple Fields of SetOption

0: String1: SysEventOption
UsiNewGame

usinewgameコマンド受信イベント

Position(TebanUsiInitialPositionu32Vec<Move>)

positionコマンド受信イベント

Tuple Fields of Position

0: Teban1: UsiInitialPosition2: u323: Vec<Move>
Go(UsiGo)

goコマンド受信イベント

Tuple Fields of Go

0: UsiGo
Stop

stopコマンド受信イベント

PonderHit

ponderhitコマンド受信イベント

Quit

quitコマンド受信イベント

GameOver(GameEndState)

gomeoverコマンド受信イベント

Tuple Fields of GameOver

0: GameEndState
SendUsiCommand(UsiOutput)

USIコマンド送信要求

Tuple Fields of SendUsiCommand

0: UsiOutput
QuitReady

終了

Trait Implementations

Formats the value using the given formatter. Read more

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.