pub enum Alliance {
Own,
Ally,
Neutral,
Enemy,
}
Expand description
The alliance of unit or effect to your bot.
Variants§
Own
Your own objects.
Ally
Owned by your allias (in 2v2, 3v3 an 4v4 games).
Neutral
Just neutral object.
Enemy
Owned by your opponent.
Implementations§
Trait Implementations§
impl Copy for Alliance
impl Eq for Alliance
impl StructuralPartialEq for Alliance
Auto Trait Implementations§
impl Freeze for Alliance
impl RefUnwindSafe for Alliance
impl Send for Alliance
impl Sync for Alliance
impl Unpin for Alliance
impl UnwindSafe for Alliance
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.