[−][src]Enum bwapi_wrapper::BWAPI_UnitTypes_Enum_Enum
Variants
Implementations
impl BWAPI_UnitTypes_Enum_Enum
[src]
pub fn size(&self) -> UnitSizeType
[src]
pub fn mineral_price(&self) -> i32
[src]
pub fn gas_price(&self) -> i32
[src]
pub fn get_race(&self) -> Race
[src]
pub fn destroy_score(&self) -> i32
[src]
pub fn tile_width(&self) -> i32
[src]
pub fn tile_height(&self) -> i32
[src]
pub fn dimension_left(&self) -> i32
[src]
pub fn dimension_right(&self) -> i32
[src]
pub fn dimension_down(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn max_ground_hits(&self) -> i32
[src]
pub fn air_weapon(&self) -> WeaponType
[src]
pub fn max_energy(&self) -> i32
[src]
pub fn abilities(&self) -> &'static [TechType]
[src]
pub fn space_provided(&self) -> i32
[src]
pub fn sight_range(&self) -> i32
[src]
pub fn cloaking_tech(&self) -> TechType
[src]
pub fn upgrades(&self) -> &'static [UpgradeType]
[src]
pub fn what_builds(&self) -> (UnitType, i32)
[src]
pub fn max_hit_points(&self) -> i32
[src]
pub fn armor(&self) -> i32
[src]
pub fn dimension_up(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn ground_weapon(&self) -> WeaponType
[src]
pub fn max_air_hits(&self) -> i32
[src]
pub fn top_speed(&self) -> f64
[src]
pub fn halt_distance(&self) -> i32
[src]
pub fn max_shields(&self) -> i32
[src]
pub fn build_score(&self) -> i32
[src]
pub fn seek_range(&self) -> i32
[src]
pub fn required_units(&self) -> &'static [(UnitType, i32)]
[src]
pub fn tile_size(&self) -> TilePosition
[src]
pub fn acceleration(&self) -> i32
[src]
pub fn turn_radius(&self) -> i32
[src]
pub fn can_produce(&self) -> bool
[src]
pub fn can_attack(&self) -> bool
[src]
pub fn can_move(&self) -> bool
[src]
pub fn is_flyer(&self) -> bool
[src]
pub fn required_tech(&self) -> TechType
[src]
pub fn space_required(&self) -> i32
[src]
pub fn armor_upgrade(&self) -> UpgradeType
[src]
pub fn supply_required(&self) -> i32
[src]
pub fn build_time(&self) -> i32
[src]
pub fn supply_provided(&self) -> i32
[src]
pub fn has_permanent_cloak(&self) -> bool
[src]
pub fn is_special_building(&self) -> bool
[src]
pub fn is_two_units_in_one_egg(&self) -> bool
[src]
pub fn is_resource_container(&self) -> bool
[src]
pub fn is_building(&self) -> bool
[src]
pub fn is_detector(&self) -> bool
[src]
pub fn regenerates_h_p(&self) -> bool
[src]
pub fn is_addon(&self) -> bool
[src]
pub fn is_mineral_field(&self) -> bool
[src]
pub fn produces_creep(&self) -> bool
[src]
pub fn is_spellcaster(&self) -> bool
[src]
pub fn is_powerup(&self) -> bool
[src]
pub fn is_refinery(&self) -> bool
[src]
pub fn produces_larva(&self) -> bool
[src]
pub fn is_invincible(&self) -> bool
[src]
pub fn upgrades_what(&self) -> &'static [UpgradeType]
[src]
pub fn builds_what(&self) -> &'static [UnitType]
[src]
pub fn is_beacon(&self) -> bool
[src]
pub fn is_mechanical(&self) -> bool
[src]
pub fn is_spell(&self) -> bool
[src]
pub fn is_robotic(&self) -> bool
[src]
pub fn is_critter(&self) -> bool
[src]
pub fn can_build_addon(&self) -> bool
[src]
pub fn researches_what(&self) -> &'static [TechType]
[src]
pub fn is_resource_depot(&self) -> bool
[src]
pub fn is_worker(&self) -> bool
[src]
pub fn is_flying_building(&self) -> bool
[src]
pub fn is_neutral(&self) -> bool
[src]
pub fn is_cloakable(&self) -> bool
[src]
pub fn is_hero(&self) -> bool
[src]
pub fn requires_creep(&self) -> bool
[src]
pub fn is_organic(&self) -> bool
[src]
pub fn is_flag_beacon(&self) -> bool
[src]
pub fn requires_psi(&self) -> bool
[src]
pub fn is_burrowable(&self) -> bool
[src]
pub fn name(&self) -> &'static str
[src]
impl BWAPI_UnitTypes_Enum_Enum
[src]
pub fn is_successor_of(&self, type_: UnitType) -> bool
[src]
Trait Implementations
impl Clone for BWAPI_UnitTypes_Enum_Enum
[src]
fn clone(&self) -> BWAPI_UnitTypes_Enum_Enum
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BWAPI_UnitTypes_Enum_Enum
[src]
impl Debug for BWAPI_UnitTypes_Enum_Enum
[src]
impl Eq for BWAPI_UnitTypes_Enum_Enum
[src]
impl FromPrimitive for BWAPI_UnitTypes_Enum_Enum
[src]
fn from_i64(n: i64) -> Option<Self>
[src]
fn from_u64(n: u64) -> Option<Self>
[src]
fn from_isize(n: isize) -> Option<Self>
[src]
fn from_i8(n: i8) -> Option<Self>
[src]
fn from_i16(n: i16) -> Option<Self>
[src]
fn from_i32(n: i32) -> Option<Self>
[src]
fn from_i128(n: i128) -> Option<Self>
[src]
fn from_usize(n: usize) -> Option<Self>
[src]
fn from_u8(n: u8) -> Option<Self>
[src]
fn from_u16(n: u16) -> Option<Self>
[src]
fn from_u32(n: u32) -> Option<Self>
[src]
fn from_u128(n: u128) -> Option<Self>
[src]
fn from_f32(n: f32) -> Option<Self>
[src]
fn from_f64(n: f64) -> Option<Self>
[src]
impl Hash for BWAPI_UnitTypes_Enum_Enum
[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<BWAPI_UnitTypes_Enum_Enum> for BWAPI_UnitTypes_Enum_Enum
[src]
fn eq(&self, other: &BWAPI_UnitTypes_Enum_Enum) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for BWAPI_UnitTypes_Enum_Enum
[src]
impl StructuralPartialEq for BWAPI_UnitTypes_Enum_Enum
[src]
Auto Trait Implementations
impl RefUnwindSafe for BWAPI_UnitTypes_Enum_Enum
impl Send for BWAPI_UnitTypes_Enum_Enum
impl Sync for BWAPI_UnitTypes_Enum_Enum
impl Unpin for BWAPI_UnitTypes_Enum_Enum
impl UnwindSafe for BWAPI_UnitTypes_Enum_Enum
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> TypeFrom for T where
T: FromPrimitive,
[src]
T: FromPrimitive,