Struct spring_ai_sys::SEnemyFinishedEvent
source · #[repr(C)]pub struct SEnemyFinishedEvent {
pub enemy: c_int,
}
Expand description
This AI event is sent whenever an enemy unit is fully built, and contains the finished unit. Usually, the unit has full health at this time. See also the unit-created event.
Fields§
§enemy: c_int
Trait Implementations§
source§impl Clone for SEnemyFinishedEvent
impl Clone for SEnemyFinishedEvent
source§fn clone(&self) -> SEnemyFinishedEvent
fn clone(&self) -> SEnemyFinishedEvent
Returns a copy 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 SEnemyFinishedEvent
impl Debug for SEnemyFinishedEvent
impl Copy for SEnemyFinishedEvent
Auto Trait Implementations§
impl Freeze for SEnemyFinishedEvent
impl RefUnwindSafe for SEnemyFinishedEvent
impl Send for SEnemyFinishedEvent
impl Sync for SEnemyFinishedEvent
impl Unpin for SEnemyFinishedEvent
impl UnwindSafe for SEnemyFinishedEvent
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