[][src]Enum bwapi_wrapper::BWAPI_Text_Enum

#[repr(i32)]pub enum BWAPI_Text_Enum {
    Previous,
    Default,
    Yellow,
    White,
    Grey,
    Red,
    Green,
    BrightRed,
    Invisible,
    Blue,
    Teal,
    Purple,
    Orange,
    Align_Right,
    Align_Center,
    Invisible2,
    Brown,
    PlayerWhite,
    PlayerYellow,
    DarkGreen,
    LightYellow,
    Cyan,
    Tan,
    GreyBlue,
    GreyGreen,
    GreyCyan,
    Turquoise,
}
Enumeration of text formatting codes

Variants

Previous
Uses the previous color that was specified before the current one.
Default
Uses the default blueish color. This color is used in standard game messages.
Yellow
A solid yellow. This yellow is used in notifications and is also the default color when printing text to Broodwar.
White
A bright white. This is used for timers.
Grey
A dark grey. This color code will override all color formatting that follows.
Red
A deep red. This color code is used for error messages.
Green
A solid green. This color is used for sent messages and resource counters.
BrightRed
A type of red. This color is used to color the name of the red player.
Invisible
This code hides all text and formatting that follows.
Blue
A deep blue. This color is used to color the name of the blue player.
Teal
A teal color. This color is used to color the name of the teal player.
Purple
A deep purple. This color is used to color the name of the purple player.
Orange
A solid orange. This color is used to color the name of the orange player.
Align_Right
An alignment directive that aligns the text to the right side of the screen.
Align_Center
An alignment directive that aligns the text to the center of the screen.
Invisible2

@copydoc Invisible

Brown
A dark brown. This color is used to color the name of the brown player.
PlayerWhite
A dirty white. This color is used to color the name of the white player.
PlayerYellow
A deep yellow. This color is used to color the name of the yellow player.
DarkGreen
A dark green. This color is used to color the name of the green player.
LightYellow
A bright yellow.
Cyan
A cyan color. Similar to Default.
Tan
A tan color.
GreyBlue
A dark blueish color.
GreyGreen
A type of Green.
GreyCyan
A different type of Cyan.
Turquoise
A bright blue color.

Trait Implementations

impl Clone for BWAPI_Text_Enum[src]

impl Copy for BWAPI_Text_Enum[src]

impl Debug for BWAPI_Text_Enum[src]

impl Eq for BWAPI_Text_Enum[src]

impl FromPrimitive for BWAPI_Text_Enum[src]

impl Hash for BWAPI_Text_Enum[src]

impl PartialEq<BWAPI_Text_Enum> for BWAPI_Text_Enum[src]

impl StructuralEq for BWAPI_Text_Enum[src]

impl StructuralPartialEq for BWAPI_Text_Enum[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.

impl<T> TypeFrom for T where
    T: FromPrimitive
[src]