Enum rust_sc2::player::Race [−][src]
pub enum Race { Terran, Zerg, Protoss, Random, }
Representation of game races (your gender in SC2).
Variants
Brutal mens, who try to survive in this world.
Ruthless insects of incredibly big size. What a nightmare?
Kinda high-tech guys, who build cannons and batteries near your base “just for scouting”.
Use when you didn’t decide your race yet or just want to play them all.
Implementations
Trait Implementations
impl StructuralEq for Race
[src]
impl StructuralEq for Race
[src]impl StructuralPartialEq for Race
[src]
impl StructuralPartialEq for Race
[src]Auto Trait Implementations
impl RefUnwindSafe for Race
impl RefUnwindSafe for Race
impl UnwindSafe for Race
impl UnwindSafe for Race
Blanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,