Struct rust_sc2::score::Score[][src]

pub struct Score {
    pub score_type: ScoreType,
    pub total_score: i32,
    pub idle_production_time: f32,
    pub idle_worker_time: f32,
    pub total_value_units: f32,
    pub total_value_structures: f32,
    pub killed_value_units: f32,
    pub killed_value_structures: f32,
    pub collected_minerals: f32,
    pub collected_vespene: f32,
    pub collection_rate_minerals: f32,
    pub collection_rate_vespene: f32,
    pub spent_minerals: f32,
    pub spent_vespene: f32,
    pub food_used: Category,
    pub killed_minerals: Category,
    pub killed_vespene: Category,
    pub lost_minerals: Category,
    pub lost_vespene: Category,
    pub friendly_fire_minerals: Category,
    pub friendly_fire_vespene: Category,
    pub used_minerals: Category,
    pub used_vespene: Category,
    pub total_used_minerals: Category,
    pub total_used_vespene: Category,
    pub total_damage_dealt: Vital,
    pub total_damage_taken: Vital,
    pub total_healed: Vital,
    pub current_apm: f32,
    pub current_effective_apm: f32,
}

All kinds of scores stored here.

Can be accessed through state.observation.score.

Fields

score_type: ScoreTypetotal_score: i32idle_production_time: f32idle_worker_time: f32total_value_units: f32total_value_structures: f32killed_value_units: f32killed_value_structures: f32collected_minerals: f32collected_vespene: f32collection_rate_minerals: f32collection_rate_vespene: f32spent_minerals: f32spent_vespene: f32food_used: Categorykilled_minerals: Categorykilled_vespene: Categorylost_minerals: Categorylost_vespene: Categoryfriendly_fire_minerals: Categoryfriendly_fire_vespene: Categoryused_minerals: Categoryused_vespene: Categorytotal_used_minerals: Categorytotal_used_vespene: Categorytotal_damage_dealt: Vitaltotal_damage_taken: Vitaltotal_healed: Vitalcurrent_apm: f32current_effective_apm: f32

Trait Implementations

impl Clone for Score[src]

impl Default for Score[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,