Struct shakmaty::IllegalMoveError
source · pub struct IllegalMoveError;
Expand description
Error in case of illegal moves.
Trait Implementations
sourceimpl Clone for IllegalMoveError
impl Clone for IllegalMoveError
sourcefn clone(&self) -> IllegalMoveError
fn clone(&self) -> IllegalMoveError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IllegalMoveError
impl Debug for IllegalMoveError
sourceimpl Display for IllegalMoveError
impl Display for IllegalMoveError
sourceimpl Error for IllegalMoveError
impl Error for IllegalMoveError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl From<()> for IllegalMoveError
impl From<()> for IllegalMoveError
sourcefn from(_: ()) -> IllegalMoveError
fn from(_: ()) -> IllegalMoveError
Converts to this type from the input type.
sourceimpl PartialEq<IllegalMoveError> for IllegalMoveError
impl PartialEq<IllegalMoveError> for IllegalMoveError
sourcefn eq(&self, other: &IllegalMoveError) -> bool
fn eq(&self, other: &IllegalMoveError) -> bool
impl Eq for IllegalMoveError
impl StructuralEq for IllegalMoveError
impl StructuralPartialEq for IllegalMoveError
Auto Trait Implementations
impl RefUnwindSafe for IllegalMoveError
impl Send for IllegalMoveError
impl Sync for IllegalMoveError
impl Unpin for IllegalMoveError
impl UnwindSafe for IllegalMoveError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more