Struct board_game_geom::Move
source · [−]Expand description
A difference between two Point
s.
Point(y0, x0)
- Point(y1, x1) ==
Move(y0 - y1, x0 - x1)`
Tuple Fields
0: i32
1: i32
Trait Implementations
impl Copy for Move
impl Eq for Move
impl StructuralEq for Move
impl StructuralPartialEq for Move
Auto Trait Implementations
impl RefUnwindSafe for Move
impl Send for Move
impl Sync for Move
impl Unpin for Move
impl UnwindSafe for Move
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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