Struct bwapi_wrapper::BWAPI_Order
source · #[repr(C)]pub struct BWAPI_Order {
pub _base: u32,
}
Expand description
An Order (Order type) represents a Unit's current action and can be retrieved with UnitInterface::getOrder.
It can also be used to identify the current state of the unit during command execution (gathering minerals can consist of Orders::MoveToMinerals, Orders::WaitForMinerals, Orders::MiningMinerals, etc.).@see UnitInterface::getOrder, Orders @ingroup TypeClasses
Fields§
§_base: u32
Trait Implementations§
source§impl Clone for BWAPI_Order
impl Clone for BWAPI_Order
source§fn clone(&self) -> BWAPI_Order
fn clone(&self) -> BWAPI_Order
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_Order
impl Debug for BWAPI_Order
source§impl Hash for BWAPI_Order
impl Hash for BWAPI_Order
source§impl PartialEq for BWAPI_Order
impl PartialEq for BWAPI_Order
source§fn eq(&self, other: &BWAPI_Order) -> bool
fn eq(&self, other: &BWAPI_Order) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BWAPI_Order
impl Eq for BWAPI_Order
impl StructuralPartialEq for BWAPI_Order
Auto Trait Implementations§
impl RefUnwindSafe for BWAPI_Order
impl Send for BWAPI_Order
impl Sync for BWAPI_Order
impl Unpin for BWAPI_Order
impl UnwindSafe for BWAPI_Order
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