Enum usiagent::event::SelfMatchGameEndState [−][src]
pub enum SelfMatchGameEndState {
Win(Teban),
Resign(Teban),
NyuGyokuWin(Teban),
NyuGyokuLose(Teban),
Draw,
Foul(Teban, FoulKind),
Timeover(Teban),
}Expand description
自己対局時の対局終了時の状態
Variants
Win(Teban)勝ち
Tuple Fields of Win
0: TebanResign(Teban)投了
Tuple Fields of Resign
0: TebanNyuGyokuWin(Teban)入玉宣言勝ち
Tuple Fields of NyuGyokuWin
0: TebanNyuGyokuLose(Teban)入玉宣言勝ちを宣言したが条件を満たさず負けになった
Tuple Fields of NyuGyokuLose
0: Teban引き分け
反則負け
Timeover(Teban)時間切れ負け
Tuple Fields of Timeover
0: TebanTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for SelfMatchGameEndState
impl Send for SelfMatchGameEndState
impl Sync for SelfMatchGameEndState
impl Unpin for SelfMatchGameEndState
impl UnwindSafe for SelfMatchGameEndState
Blanket Implementations
Mutably borrows from an owned value. Read more