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