pub struct UnitMove {
pub from: Hex,
pub to: Hex,
}Expand description
A unit moving from one hex to another
Fields§
§from: Hex§to: HexAuto Trait Implementations§
impl Freeze for UnitMove
impl RefUnwindSafe for UnitMove
impl Send for UnitMove
impl Sync for UnitMove
impl Unpin for UnitMove
impl UnwindSafe for UnitMove
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