#[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,
}
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.