[][src]Struct bwapi_wrapper::BWAPI_Event

#[repr(C)]pub struct BWAPI_Event {
    pub position: BWAPI_Position,
    pub text: *mut std_string,
    pub unit: BWAPI_Unit,
    pub player: BWAPI_Player,
    pub type_: BWAPI_EventType_Enum,
    pub winner: bool,
}

Fields

position: BWAPI_Positiontext: *mut std_stringunit: BWAPI_Unitplayer: BWAPI_Playertype_: BWAPI_EventType_Enumwinner: bool

Implementations

impl BWAPI_Event[src]

pub unsafe fn new(other: *const BWAPI_Event) -> Self[src]

pub unsafe fn new1(other: *mut BWAPI_Event) -> Self[src]

pub unsafe fn destruct(&mut self)[src]

Trait Implementations

impl Debug for BWAPI_Event[src]

impl Default for BWAPI_Event[src]

impl Eq for BWAPI_Event[src]

impl Hash for BWAPI_Event[src]

impl PartialEq<BWAPI_Event> for BWAPI_Event[src]

impl StructuralEq for BWAPI_Event[src]

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