pub struct UnitAttack {
pub attacker_hex: Hex,
pub target_hex: Hex,
pub target_kind: Attackable,
pub cost: u32,
pub damage: u32,
}Fields§
§attacker_hex: Hex§target_hex: Hex§target_kind: Attackable§cost: u32§damage: u32Auto 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