[][src]Struct bwapi_wrapper::BWAPIC_Shape

#[repr(C)]pub struct BWAPIC_Shape {
    pub type_: BWAPIC_ShapeType_Enum,
    pub ctype: BWAPI_CoordinateType_Enum,
    pub x1: c_int,
    pub y1: c_int,
    pub x2: c_int,
    pub y2: c_int,
    pub extra1: c_int,
    pub extra2: c_int,
    pub color: c_int,
    pub isSolid: bool,
}

Fields

type_: BWAPIC_ShapeType_Enumctype: BWAPI_CoordinateType_Enumx1: c_inty1: c_intx2: c_inty2: c_intextra1: c_intextra2: c_intcolor: c_intisSolid: bool

Trait Implementations

impl Clone for BWAPIC_Shape[src]

impl Copy for BWAPIC_Shape[src]

impl Debug for BWAPIC_Shape[src]

impl Default for BWAPIC_Shape[src]

impl Eq for BWAPIC_Shape[src]

impl Hash for BWAPIC_Shape[src]

impl PartialEq<BWAPIC_Shape> for BWAPIC_Shape[src]

impl StructuralEq for BWAPIC_Shape[src]

impl StructuralPartialEq for BWAPIC_Shape[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.