Struct bwapi_wrapper::BWAPI_WeaponType
source · #[repr(C)]pub struct BWAPI_WeaponType {
pub _base: u32,
}
Expand description
This object identifies a weapon type used by a unit to attack and deal damage.
Some weapon types can be upgraded while others are used for special abilities.@see WeaponTypes @ingroup TypeClasses
Fields§
§_base: u32
Trait Implementations§
source§impl Clone for BWAPI_WeaponType
impl Clone for BWAPI_WeaponType
source§fn clone(&self) -> BWAPI_WeaponType
fn clone(&self) -> BWAPI_WeaponType
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 more