[][src]Struct bwapi_wrapper::BWAPI_BulletData

#[repr(C)]pub struct BWAPI_BulletData {
    pub id: c_int,
    pub player: c_int,
    pub type_: c_int,
    pub source: c_int,
    pub positionX: c_int,
    pub positionY: c_int,
    pub angle: f64,
    pub velocityX: f64,
    pub velocityY: f64,
    pub target: c_int,
    pub targetPositionX: c_int,
    pub targetPositionY: c_int,
    pub removeTimer: c_int,
    pub exists: bool,
    pub isVisible: [bool; 9],
}

Fields

id: c_intplayer: c_inttype_: c_intsource: c_intpositionX: c_intpositionY: c_intangle: f64velocityX: f64velocityY: f64target: c_inttargetPositionX: c_inttargetPositionY: c_intremoveTimer: c_intexists: boolisVisible: [bool; 9]

Trait Implementations

impl Clone for BWAPI_BulletData[src]

impl Copy for BWAPI_BulletData[src]

impl Debug for BWAPI_BulletData[src]

impl Default for BWAPI_BulletData[src]

impl PartialEq<BWAPI_BulletData> for BWAPI_BulletData[src]

impl StructuralPartialEq for BWAPI_BulletData[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.