Struct rust_sc2::score::Score [−][src]
pub struct Score {Show fields
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: f32Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Score
impl Send for Score
impl Sync for Score
impl Unpin for Score
impl UnwindSafe for Score
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,