Struct cozy_chess::IllegalMoveError
source · pub struct IllegalMoveError;
Expand description
An error returned when the move played was illegal.
Trait Implementations§
source§impl Clone for IllegalMoveError
impl Clone for IllegalMoveError
source§fn clone(&self) -> IllegalMoveError
fn clone(&self) -> IllegalMoveError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IllegalMoveError
impl Debug for IllegalMoveError
source§impl Display for IllegalMoveError
impl Display for IllegalMoveError
impl Copy for IllegalMoveError
Auto Trait Implementations§
impl Freeze for IllegalMoveError
impl RefUnwindSafe for IllegalMoveError
impl Send for IllegalMoveError
impl Sync for IllegalMoveError
impl Unpin for IllegalMoveError
impl UnwindSafe for IllegalMoveError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more