pub struct UnitAttack {
pub attacker_hex: Hex,
pub target_hex: Hex,
pub target_kind: Attackable,
}Expand description
A unit attacking an attackable target
Fields§
§attacker_hex: Hex§target_hex: Hex§target_kind: AttackableAuto Trait Implementations§
impl Freeze for UnitAttack
impl RefUnwindSafe for UnitAttack
impl Send for UnitAttack
impl Sync for UnitAttack
impl Unpin for UnitAttack
impl UnwindSafe for UnitAttack
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