pub struct Coords {
pub piece: PieceType,
pub is_capture: bool,
pub x: usize,
pub y: usize,
}Fields§
§piece: PieceType§is_capture: bool§x: usize§y: usizeImplementations§
Trait Implementations§
impl Copy for Coords
impl Eq for Coords
impl StructuralPartialEq for Coords
Auto Trait Implementations§
impl Freeze for Coords
impl RefUnwindSafe for Coords
impl Send for Coords
impl Sync for Coords
impl Unpin for Coords
impl UnwindSafe for Coords
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