Struct shakmaty::IllegalMove [−][src]
pub struct IllegalMove;
Error in case of illegal moves.
Trait Implementations
impl Debug for IllegalMove
[src]
impl Debug for IllegalMove
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for IllegalMove
[src]
impl Display for IllegalMove
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for IllegalMove
[src]
impl Error for IllegalMove
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<()> for IllegalMove
[src]
impl From<()> for IllegalMove
fn from(_: ()) -> IllegalMove
[src]
fn from(_: ()) -> IllegalMove
Performs the conversion.
Auto Trait Implementations
impl Send for IllegalMove
impl Send for IllegalMove
impl Sync for IllegalMove
impl Sync for IllegalMove