Struct bwapi_wrapper::BWAPI_Color
source · #[repr(C)]pub struct BWAPI_Color {
pub _base: u32,
}
Expand description
The Color object is used in drawing routines to specify the color to use.
@note Starcraft uses a 256 color palette for rendering. Thus, the colors available are limited to this palette.
@see Colors @ingroup TypeClasses
Fields§
§_base: u32
Implementations§
Trait Implementations§
source§impl Clone for BWAPI_Color
impl Clone for BWAPI_Color
source§fn clone(&self) -> BWAPI_Color
fn clone(&self) -> BWAPI_Color
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