Enum shogi::MoveError
[−]
[src]
pub enum MoveError {
InCheck,
Nifu,
Uchifuzume,
PerpetualCheckWin,
PerpetualCheckLose,
EnemysTurn,
NonMovablePiece,
Inconsistent,
Repetition,
}Represents an error occurred during making a move.
Variants
InCheckNifuUchifuzumePerpetualCheckWinPerpetualCheckLoseEnemysTurnNonMovablePieceInconsistentRepetitionTrait Implementations
impl Debug for MoveError[src]
impl PartialEq for MoveError[src]
fn eq(&self, __arg_0: &MoveError) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.