pub struct AttackAction {
pub unit_id: u32,
pub target_id: u32,
pub from: Hex,
pub damage: u32,
}Fields§
§unit_id: u32§target_id: u32§from: Hex§damage: u32Auto Trait Implementations§
impl Freeze for AttackAction
impl RefUnwindSafe for AttackAction
impl Send for AttackAction
impl Sync for AttackAction
impl Unpin for AttackAction
impl UnwindSafe for AttackAction
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