Enum sc2::Alliance [] [src]

pub enum Alliance {
    Domestic,
    Ally,
    Neutral,
    Enemy,
}

relationship to this player

Variants

unit is owned by this player

unit is an ally of this player

unit is neutral to this player (usually a non-player unit)

unit is an enemy of the player

Trait Implementations

impl Debug for Alliance
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Alliance
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Alliance
[src]

impl Copy for Alliance
[src]

impl Clone for Alliance
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<Alliance> for Alliance
[src]

[src]

Performs the conversion.