Enum sc2::data::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]

Formats the value using the given formatter. Read more

impl PartialEq for Alliance
[src]

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

This method tests for !=.

impl Eq for Alliance
[src]

impl Copy for Alliance
[src]

impl Clone for Alliance
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Alliance> for Alliance
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Alliance

impl Sync for Alliance