Expand description
Represent a ChessMove.
Fields
from: SquareThe Square where the [Piece] comes from.
to: SquareThe Square where the [Piece] is going to.
Implementations
Trait Implementations
impl Copy for ChessMove
impl Eq for ChessMove
impl StructuralEq for ChessMove
impl StructuralPartialEq for ChessMove
Auto Trait Implementations
impl RefUnwindSafe for ChessMove
impl Send for ChessMove
impl Sync for ChessMove
impl Unpin for ChessMove
impl UnwindSafe for ChessMove
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