Enum sc2::Alliance
[−]
[src]
pub enum Alliance { Domestic, Ally, Neutral, Enemy, }
relationship to this player
Variants
Domestic
unit is owned by this player
Ally
unit is an ally of this player
Neutral
unit is neutral to this player (usually a non-player unit)
Enemy
unit is an enemy of the player
Trait Implementations
impl Debug for Alliance
[src]
impl PartialEq for Alliance
[src]
fn eq(&self, __arg_0: &Alliance) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for Alliance
[src]
impl Copy for Alliance
[src]
impl Clone for Alliance
[src]
fn clone(&self) -> Alliance
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more