#[repr(C)]pub struct SInitEvent {
pub skirmishAIId: c_int,
pub callback: *const SSkirmishAICallback,
pub savedGame: bool,
}
Expand description
This AI event initializes a Skirmish AI instance. It is sent only once per AI instance and game, as the very first event.
Fields§
§skirmishAIId: c_int
§callback: *const SSkirmishAICallback
§savedGame: bool
Trait Implementations§
Source§impl Clone for SInitEvent
impl Clone for SInitEvent
Source§fn clone(&self) -> SInitEvent
fn clone(&self) -> SInitEvent
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 SInitEvent
impl Debug for SInitEvent
impl Copy for SInitEvent
Auto Trait Implementations§
impl Freeze for SInitEvent
impl RefUnwindSafe for SInitEvent
impl !Send for SInitEvent
impl !Sync for SInitEvent
impl Unpin for SInitEvent
impl UnwindSafe for SInitEvent
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