[−][src]Struct bwapi_wrapper::BWAPIC_UnitCommand
Fields
type_: BWAPI_UnitCommandTypeunitIndex: c_inttargetIndex: c_intx: c_inty: c_intextra: c_intImplementations
impl BWAPIC_UnitCommand[src]
pub fn get_type(&self) -> UnitCommandType[src]
pub fn get_unit_type(&self) -> UnitType[src]
pub fn get_target_position(&self) -> Position[src]
pub fn get_target_tile_position(&self) -> TilePosition[src]
pub fn get_tech_type(&self) -> TechType[src]
pub fn get_upgrade_type(&self) -> UpgradeType[src]
pub fn get_slot(&self) -> Option<i32>[src]
pub fn is_queued(&self) -> bool[src]
Trait Implementations
impl Clone for BWAPIC_UnitCommand[src]
fn clone(&self) -> BWAPIC_UnitCommand[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for BWAPIC_UnitCommand[src]
impl Debug for BWAPIC_UnitCommand[src]
impl Default for BWAPIC_UnitCommand[src]
fn default() -> BWAPIC_UnitCommand[src]
impl Eq for BWAPIC_UnitCommand[src]
impl Hash for BWAPIC_UnitCommand[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<BWAPIC_UnitCommand> for BWAPIC_UnitCommand[src]
fn eq(&self, other: &BWAPIC_UnitCommand) -> bool[src]
fn ne(&self, other: &BWAPIC_UnitCommand) -> bool[src]
impl StructuralEq for BWAPIC_UnitCommand[src]
impl StructuralPartialEq for BWAPIC_UnitCommand[src]
Auto Trait Implementations
impl RefUnwindSafe for BWAPIC_UnitCommand
impl Send for BWAPIC_UnitCommand
impl Sync for BWAPIC_UnitCommand
impl Unpin for BWAPIC_UnitCommand
impl UnwindSafe for BWAPIC_UnitCommand
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,