#[repr(C)]pub struct SUnitIdleEvent {
pub unit: c_int,
}
Expand description
This AI event is sent when a unit finished processing a command or just finished building, and it has currently no commands in it’s queue.
Fields§
§unit: c_int
Trait Implementations§
Source§impl Clone for SUnitIdleEvent
impl Clone for SUnitIdleEvent
Source§fn clone(&self) -> SUnitIdleEvent
fn clone(&self) -> SUnitIdleEvent
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 SUnitIdleEvent
impl Debug for SUnitIdleEvent
impl Copy for SUnitIdleEvent
Auto Trait Implementations§
impl Freeze for SUnitIdleEvent
impl RefUnwindSafe for SUnitIdleEvent
impl Send for SUnitIdleEvent
impl Sync for SUnitIdleEvent
impl Unpin for SUnitIdleEvent
impl UnwindSafe for SUnitIdleEvent
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