Struct bwapi_wrapper::BWAPI_TechType
source · #[repr(C)]pub struct BWAPI_TechType {
pub _base: u32,
}
Expand description
The TechType (or Technology Type, also referred to as an Ability) represents a Unit's ability which can be researched with UnitInterface::research or used with UnitInterface::useTech.
In order for a Unit to use its own specialized ability, it must first be available and researched.@see TechTypes @ingroup TypeClasses
Fields§
§_base: u32
Trait Implementations§
source§impl Clone for BWAPI_TechType
impl Clone for BWAPI_TechType
source§fn clone(&self) -> BWAPI_TechType
fn clone(&self) -> BWAPI_TechType
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_TechType
impl Debug for BWAPI_TechType
source§impl Hash for BWAPI_TechType
impl Hash for BWAPI_TechType
source§impl PartialEq for BWAPI_TechType
impl PartialEq for BWAPI_TechType
source§fn eq(&self, other: &BWAPI_TechType) -> bool
fn eq(&self, other: &BWAPI_TechType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BWAPI_TechType
impl Eq for BWAPI_TechType
impl StructuralPartialEq for BWAPI_TechType
Auto Trait Implementations§
impl RefUnwindSafe for BWAPI_TechType
impl Send for BWAPI_TechType
impl Sync for BWAPI_TechType
impl Unpin for BWAPI_TechType
impl UnwindSafe for BWAPI_TechType
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