Struct bwapi_wrapper::BWAPI_DamageType
source · #[repr(C)]pub struct BWAPI_DamageType {
pub _base: u32,
}
Expand description
Damage types are used in Broodwar to determine the amount of damage that will be done to a unit.
This corresponds with UnitSizeType to determine the damage done to a unit.@see WeaponType, DamageTypes, UnitSizeType
View on Liquipedia
View on Starcraft Campendium (Official Website)
View on Starcraft Wikia
@ingroup TypeClasses
Fields§
§_base: u32
Trait Implementations§
source§impl Clone for BWAPI_DamageType
impl Clone for BWAPI_DamageType
source§fn clone(&self) -> BWAPI_DamageType
fn clone(&self) -> BWAPI_DamageType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BWAPI_DamageType
impl Debug for BWAPI_DamageType
source§impl Hash for BWAPI_DamageType
impl Hash for BWAPI_DamageType
source§impl PartialEq for BWAPI_DamageType
impl PartialEq for BWAPI_DamageType
source§fn eq(&self, other: &BWAPI_DamageType) -> bool
fn eq(&self, other: &BWAPI_DamageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BWAPI_DamageType
impl Eq for BWAPI_DamageType
impl StructuralPartialEq for BWAPI_DamageType
Auto Trait Implementations§
impl RefUnwindSafe for BWAPI_DamageType
impl Send for BWAPI_DamageType
impl Sync for BWAPI_DamageType
impl Unpin for BWAPI_DamageType
impl UnwindSafe for BWAPI_DamageType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more