Struct bwapi_wrapper::BWAPI_Error
source · #[repr(C)]pub struct BWAPI_Error {
pub _base: u32,
}
Expand description
The Error object is generally used to determine why certain functions in BWAPI have failed.
For example, you may not have enough resources to construct a unit. @see Game::getLastError, Game::setLastError, Errors @ingroup TypeClasses
Fields§
§_base: u32
Trait Implementations§
source§impl Clone for BWAPI_Error
impl Clone for BWAPI_Error
source§fn clone(&self) -> BWAPI_Error
fn clone(&self) -> BWAPI_Error
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