pub struct UciMove {
pub from: Square,
pub to: Square,
pub promotion: Option<Piece>,
}
Fields§
§from: Square
§to: Square
§promotion: Option<Piece>
Implementations§
Trait Implementations§
impl Copy for UciMove
impl Eq for UciMove
impl StructuralPartialEq for UciMove
Auto Trait Implementations§
impl Freeze for UciMove
impl RefUnwindSafe for UciMove
impl Send for UciMove
impl Sync for UciMove
impl Unpin for UciMove
impl UnwindSafe for UciMove
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