[][src]Struct bwapi_wrapper::BWAPI_RegionInterface

#[repr(C)]pub struct BWAPI_RegionInterface {
    pub _base: BWAPI_Interface,
}
Region objects are created by Starcraft: Broodwar to contain several tiles with the same properties, and create a node in pathfinding and other algorithms. Regions may not contain detailed information, but have a sufficient amount of data to identify general chokepoints, accessibility to neighboring terrain, be used in general pathing algorithms, and used as nodes to rally units to.

Most parameters that are available are explicitly assigned by Broodwar itself.

@see Game::getAllRegions, Game::getRegionAt, UnitInterface::getRegion @ingroup Interface

Fields

_base: BWAPI_Interface

Trait Implementations

impl Debug for BWAPI_RegionInterface[src]

impl Default for BWAPI_RegionInterface[src]

impl Eq for BWAPI_RegionInterface[src]

impl Hash for BWAPI_RegionInterface[src]

impl PartialEq<BWAPI_RegionInterface> for BWAPI_RegionInterface[src]

impl StructuralEq for BWAPI_RegionInterface[src]

impl StructuralPartialEq for BWAPI_RegionInterface[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.