[][src]Struct bwapi_wrapper::BWAPI_PlayerImpl

#[repr(C)]pub struct BWAPI_PlayerImpl {
    pub _base: BWAPI_PlayerInterface,
    pub id: c_int,
    pub self_: *mut BWAPI_PlayerData,
    pub units: BWAPI_Unitset,
}

Fields

_base: BWAPI_PlayerInterfaceid: c_intself_: *mut BWAPI_PlayerDataunits: BWAPI_Unitset

Implementations

impl BWAPI_PlayerImpl[src]

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

Trait Implementations

impl Debug for BWAPI_PlayerImpl[src]

impl Default for BWAPI_PlayerImpl[src]

impl Eq for BWAPI_PlayerImpl[src]

impl Hash for BWAPI_PlayerImpl[src]

impl PartialEq<BWAPI_PlayerImpl> for BWAPI_PlayerImpl[src]

impl StructuralEq for BWAPI_PlayerImpl[src]

impl StructuralPartialEq for BWAPI_PlayerImpl[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.