#[repr(C)]pub struct SEnemyCreatedEvent {
pub enemy: c_int,
}
Expand description
This AI event is sent whenever a unit of an enemy team is created, and contains the created unit. Usually, the unit has only 1 HP at this time, and consists only of a nano frame. See also the enemy-finished event.
Fields§
§enemy: c_int
Trait Implementations§
Source§impl Clone for SEnemyCreatedEvent
impl Clone for SEnemyCreatedEvent
Source§fn clone(&self) -> SEnemyCreatedEvent
fn clone(&self) -> SEnemyCreatedEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SEnemyCreatedEvent
impl Debug for SEnemyCreatedEvent
impl Copy for SEnemyCreatedEvent
Auto Trait Implementations§
impl Freeze for SEnemyCreatedEvent
impl RefUnwindSafe for SEnemyCreatedEvent
impl Send for SEnemyCreatedEvent
impl Sync for SEnemyCreatedEvent
impl Unpin for SEnemyCreatedEvent
impl UnwindSafe for SEnemyCreatedEvent
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