[][src]Struct bwapi_wrapper::BWAPI_UnitImpl

#[repr(C)]pub struct BWAPI_UnitImpl {
    pub _base: BWAPI_UnitInterface,
    pub id: c_int,
    pub initialType: BWAPI_UnitType,
    pub initialResources: c_int,
    pub initialHitPoints: c_int,
    pub initialPosition: BWAPI_Position,
    pub lastCommandFrame: c_int,
    pub lastCommand: BWAPI_UnitCommand,
    pub self_: *mut BWAPI_UnitData,
    pub connectedUnits: BWAPI_Unitset,
    pub loadedUnits: BWAPI_Unitset,
}

Fields

_base: BWAPI_UnitInterfaceid: c_intinitialType: BWAPI_UnitTypeinitialResources: c_intinitialHitPoints: c_intinitialPosition: BWAPI_PositionlastCommandFrame: c_intlastCommand: BWAPI_UnitCommandself_: *mut BWAPI_UnitDataconnectedUnits: BWAPI_UnitsetloadedUnits: BWAPI_Unitset

Implementations

impl BWAPI_UnitImpl[src]

pub unsafe fn new(_id: c_int) -> Self[src]

Trait Implementations

impl Debug for BWAPI_UnitImpl[src]

impl Default for BWAPI_UnitImpl[src]

impl Eq for BWAPI_UnitImpl[src]

impl Hash for BWAPI_UnitImpl[src]

impl PartialEq<BWAPI_UnitImpl> for BWAPI_UnitImpl[src]

impl StructuralEq for BWAPI_UnitImpl[src]

impl StructuralPartialEq for BWAPI_UnitImpl[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.