#[repr(C)]
pub struct BWAPI_GameImpl {
Show 32 fields pub _base: BWAPI_Game, pub data: *mut BWAPI_GameData, pub forceVector: [u64; 3], pub playerVector: [u64; 3], pub unitVector: [u64; 3], pub bulletVector: [u64; 3], pub regionArray: [u64; 5000], pub forces: BWAPI_Forceset, pub playerSet: BWAPI_Playerset, pub accessibleUnits: BWAPI_Unitset, pub minerals: BWAPI_Unitset, pub geysers: BWAPI_Unitset, pub neutralUnits: BWAPI_Unitset, pub staticMinerals: BWAPI_Unitset, pub staticGeysers: BWAPI_Unitset, pub staticNeutralUnits: BWAPI_Unitset, pub bullets: BWAPI_Bulletset, pub nukeDots: [u64; 10], pub selectedUnits: BWAPI_Unitset, pub pylons: BWAPI_Unitset, pub regionsList: BWAPI_Regionset, pub startLocations: [u64; 10], pub events: [u64; 3], pub thePlayer: BWAPI_Player, pub theEnemy: BWAPI_Player, pub theNeutral: BWAPI_Player, pub _allies: BWAPI_Playerset, pub _enemies: BWAPI_Playerset, pub _observers: BWAPI_Playerset, pub lastError: BWAPI_Error, pub textSize: BWAPI_Text_Size_Enum, pub inGame: bool,
}

Fields§

§_base: BWAPI_Game§data: *mut BWAPI_GameData§forceVector: [u64; 3]§playerVector: [u64; 3]§unitVector: [u64; 3]§bulletVector: [u64; 3]§regionArray: [u64; 5000]§forces: BWAPI_Forceset§playerSet: BWAPI_Playerset§accessibleUnits: BWAPI_Unitset§minerals: BWAPI_Unitset§geysers: BWAPI_Unitset§neutralUnits: BWAPI_Unitset§staticMinerals: BWAPI_Unitset§staticGeysers: BWAPI_Unitset§staticNeutralUnits: BWAPI_Unitset§bullets: BWAPI_Bulletset§nukeDots: [u64; 10]§selectedUnits: BWAPI_Unitset§pylons: BWAPI_Unitset§regionsList: BWAPI_Regionset§startLocations: [u64; 10]§events: [u64; 3]§thePlayer: BWAPI_Player§theEnemy: BWAPI_Player§theNeutral: BWAPI_Player§_allies: BWAPI_Playerset§_enemies: BWAPI_Playerset§_observers: BWAPI_Playerset§lastError: BWAPI_Error§textSize: BWAPI_Text_Size_Enum§inGame: bool

Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.