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