[][src]Enum bwapi_wrapper::BWAPI_TechTypes_Enum_Enum

#[repr(i32)]pub enum BWAPI_TechTypes_Enum_Enum {
    Stim_Packs,
    Lockdown,
    EMP_Shockwave,
    Spider_Mines,
    Scanner_Sweep,
    Tank_Siege_Mode,
    Defensive_Matrix,
    Irradiate,
    Yamato_Gun,
    Cloaking_Field,
    Personnel_Cloaking,
    Burrowing,
    Infestation,
    Spawn_Broodlings,
    Dark_Swarm,
    Plague,
    Consume,
    Ensnare,
    Parasite,
    Psionic_Storm,
    Hallucination,
    Recall,
    Stasis_Field,
    Archon_Warp,
    Restoration,
    Disruption_Web,
    Unused_26,
    Mind_Control,
    Dark_Archon_Meld,
    Feedback,
    Optical_Flare,
    Maelstrom,
    Lurker_Aspect,
    Unused_33,
    Healing,
    None,
    Nuclear_Strike,
    Unknown,
    MAX,
}
Enumeration of Tech Types. @see TechType

Variants

Stim_Packs
Lockdown
EMP_Shockwave
Spider_Mines
Scanner_Sweep
Tank_Siege_Mode
Defensive_Matrix
Irradiate
Yamato_Gun
Cloaking_Field
Personnel_Cloaking
Burrowing
Infestation
Spawn_Broodlings
Dark_Swarm
Plague
Consume
Ensnare
Parasite
Psionic_Storm
Hallucination
Recall
Stasis_Field
Archon_Warp
Restoration
Disruption_Web
Unused_26
Mind_Control
Dark_Archon_Meld
Feedback
Optical_Flare
Maelstrom
Lurker_Aspect
Unused_33
Healing
None
Nuclear_Strike
Unknown
MAX

Implementations

impl BWAPI_TechTypes_Enum_Enum[src]

pub fn mineral_price(&self) -> i32[src]

pub fn gas_price(&self) -> i32[src]

pub fn what_uses(&self) -> &'static [UnitType][src]

pub fn research_time(&self) -> i32[src]

pub fn energy_cost(&self) -> i32[src]

pub fn get_weapon(&self) -> WeaponType[src]

pub fn targets_unit(&self) -> bool[src]

pub fn targets_position(&self) -> bool[src]

pub fn get_order(&self) -> Order[src]

pub fn what_researches(&self) -> UnitType[src]

pub fn required_unit(&self) -> UnitType[src]

pub fn get_race(&self) -> Race[src]

pub fn name(&self) -> &'static str[src]

Trait Implementations

impl Clone for BWAPI_TechTypes_Enum_Enum[src]

impl Copy for BWAPI_TechTypes_Enum_Enum[src]

impl Debug for BWAPI_TechTypes_Enum_Enum[src]

impl Eq for BWAPI_TechTypes_Enum_Enum[src]

impl FromPrimitive for BWAPI_TechTypes_Enum_Enum[src]

impl Hash for BWAPI_TechTypes_Enum_Enum[src]

impl PartialEq<BWAPI_TechTypes_Enum_Enum> for BWAPI_TechTypes_Enum_Enum[src]

impl StructuralEq for BWAPI_TechTypes_Enum_Enum[src]

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

impl<T> TypeFrom for T where
    T: FromPrimitive
[src]