Struct bwapi_wrapper::BWAPI_UnitCommandType
source · #[repr(C)]pub struct BWAPI_UnitCommandType {
pub _base: u32,
}
Expand description
A representation of a unit command in BWAPI.
This is used by bots to notify BWAPI which commands to use. BWAPI filters commands accordingly and then converts them to Broodwar commands, which differ in complexity.@see UnitCommandTypes @ingroup TypeClasses
Fields§
§_base: u32
Trait Implementations§
source§impl Clone for BWAPI_UnitCommandType
impl Clone for BWAPI_UnitCommandType
source§fn clone(&self) -> BWAPI_UnitCommandType
fn clone(&self) -> BWAPI_UnitCommandType
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_UnitCommandType
impl Debug for BWAPI_UnitCommandType
source§impl Hash for BWAPI_UnitCommandType
impl Hash for BWAPI_UnitCommandType
source§impl PartialEq for BWAPI_UnitCommandType
impl PartialEq for BWAPI_UnitCommandType
source§fn eq(&self, other: &BWAPI_UnitCommandType) -> bool
fn eq(&self, other: &BWAPI_UnitCommandType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BWAPI_UnitCommandType
impl Eq for BWAPI_UnitCommandType
impl StructuralPartialEq for BWAPI_UnitCommandType
Auto Trait Implementations§
impl RefUnwindSafe for BWAPI_UnitCommandType
impl Send for BWAPI_UnitCommandType
impl Sync for BWAPI_UnitCommandType
impl Unpin for BWAPI_UnitCommandType
impl UnwindSafe for BWAPI_UnitCommandType
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