[][src]Struct bwapi_wrapper::BWAPI_UnitCommand

#[repr(C)]pub struct BWAPI_UnitCommand {
    pub unit: BWAPI_Unit,
    pub type_: BWAPI_UnitCommandType,
    pub target: BWAPI_Unit,
    pub x: c_int,
    pub y: c_int,
    pub extra: c_int,
}

Fields

unit: BWAPI_Unittype_: BWAPI_UnitCommandTypetarget: BWAPI_Unitx: c_inty: c_intextra: c_int

Implementations

impl BWAPI_UnitCommand[src]

pub unsafe fn new(
    _unit: BWAPI_Unit,
    _type: BWAPI_UnitCommandType,
    _target: BWAPI_Unit,
    _x: c_int,
    _y: c_int,
    _extra: c_int
) -> Self
[src]

pub unsafe fn new1(_unit: BWAPI_Unit, _type: BWAPI_UnitCommandType) -> Self[src]

Trait Implementations

impl Clone for BWAPI_UnitCommand[src]

impl Copy for BWAPI_UnitCommand[src]

impl Debug for BWAPI_UnitCommand[src]

impl Default for BWAPI_UnitCommand[src]

impl Eq for BWAPI_UnitCommand[src]

impl Hash for BWAPI_UnitCommand[src]

impl PartialEq<BWAPI_UnitCommand> for BWAPI_UnitCommand[src]

impl StructuralEq for BWAPI_UnitCommand[src]

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