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: Teban
Resign(Teban)
投了
Tuple Fields of Resign
0: Teban
NyuGyokuWin(Teban)
入玉宣言勝ち
Tuple Fields of NyuGyokuWin
0: Teban
NyuGyokuLose(Teban)
入玉宣言勝ちを宣言したが条件を満たさず負けになった
Tuple Fields of NyuGyokuLose
0: Teban
引き分け
反則負け
Timeover(Teban)
時間切れ負け
Tuple Fields of Timeover
0: Teban
Trait 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