Struct sc2_proto::score::ScoreDetails [−][src]
Fields
idle_production_time: Option<f32>
idle_worker_time: Option<f32>
total_value_units: Option<f32>
total_value_structures: Option<f32>
killed_value_units: Option<f32>
killed_value_structures: Option<f32>
collected_minerals: Option<f32>
collected_vespene: Option<f32>
collection_rate_minerals: Option<f32>
collection_rate_vespene: Option<f32>
spent_minerals: Option<f32>
spent_vespene: Option<f32>
food_used: SingularPtrField<CategoryScoreDetails>
killed_minerals: SingularPtrField<CategoryScoreDetails>
killed_vespene: SingularPtrField<CategoryScoreDetails>
lost_minerals: SingularPtrField<CategoryScoreDetails>
lost_vespene: SingularPtrField<CategoryScoreDetails>
friendly_fire_minerals: SingularPtrField<CategoryScoreDetails>
friendly_fire_vespene: SingularPtrField<CategoryScoreDetails>
used_minerals: SingularPtrField<CategoryScoreDetails>
used_vespene: SingularPtrField<CategoryScoreDetails>
total_used_minerals: SingularPtrField<CategoryScoreDetails>
total_used_vespene: SingularPtrField<CategoryScoreDetails>
total_damage_dealt: SingularPtrField<VitalScoreDetails>
total_damage_taken: SingularPtrField<VitalScoreDetails>
total_healed: SingularPtrField<VitalScoreDetails>
current_apm: Option<f32>
current_effective_apm: Option<f32>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl ScoreDetails
[src]
pub fn new() -> ScoreDetails
[src]
pub fn get_idle_production_time(&self) -> f32
[src]
pub fn clear_idle_production_time(&mut self)
[src]
pub fn has_idle_production_time(&self) -> bool
[src]
pub fn set_idle_production_time(&mut self, v: f32)
[src]
pub fn get_idle_worker_time(&self) -> f32
[src]
pub fn clear_idle_worker_time(&mut self)
[src]
pub fn has_idle_worker_time(&self) -> bool
[src]
pub fn set_idle_worker_time(&mut self, v: f32)
[src]
pub fn get_total_value_units(&self) -> f32
[src]
pub fn clear_total_value_units(&mut self)
[src]
pub fn has_total_value_units(&self) -> bool
[src]
pub fn set_total_value_units(&mut self, v: f32)
[src]
pub fn get_total_value_structures(&self) -> f32
[src]
pub fn clear_total_value_structures(&mut self)
[src]
pub fn has_total_value_structures(&self) -> bool
[src]
pub fn set_total_value_structures(&mut self, v: f32)
[src]
pub fn get_killed_value_units(&self) -> f32
[src]
pub fn clear_killed_value_units(&mut self)
[src]
pub fn has_killed_value_units(&self) -> bool
[src]
pub fn set_killed_value_units(&mut self, v: f32)
[src]
pub fn get_killed_value_structures(&self) -> f32
[src]
pub fn clear_killed_value_structures(&mut self)
[src]
pub fn has_killed_value_structures(&self) -> bool
[src]
pub fn set_killed_value_structures(&mut self, v: f32)
[src]
pub fn get_collected_minerals(&self) -> f32
[src]
pub fn clear_collected_minerals(&mut self)
[src]
pub fn has_collected_minerals(&self) -> bool
[src]
pub fn set_collected_minerals(&mut self, v: f32)
[src]
pub fn get_collected_vespene(&self) -> f32
[src]
pub fn clear_collected_vespene(&mut self)
[src]
pub fn has_collected_vespene(&self) -> bool
[src]
pub fn set_collected_vespene(&mut self, v: f32)
[src]
pub fn get_collection_rate_minerals(&self) -> f32
[src]
pub fn clear_collection_rate_minerals(&mut self)
[src]
pub fn has_collection_rate_minerals(&self) -> bool
[src]
pub fn set_collection_rate_minerals(&mut self, v: f32)
[src]
pub fn get_collection_rate_vespene(&self) -> f32
[src]
pub fn clear_collection_rate_vespene(&mut self)
[src]
pub fn has_collection_rate_vespene(&self) -> bool
[src]
pub fn set_collection_rate_vespene(&mut self, v: f32)
[src]
pub fn get_spent_minerals(&self) -> f32
[src]
pub fn clear_spent_minerals(&mut self)
[src]
pub fn has_spent_minerals(&self) -> bool
[src]
pub fn set_spent_minerals(&mut self, v: f32)
[src]
pub fn get_spent_vespene(&self) -> f32
[src]
pub fn clear_spent_vespene(&mut self)
[src]
pub fn has_spent_vespene(&self) -> bool
[src]
pub fn set_spent_vespene(&mut self, v: f32)
[src]
pub fn get_food_used(&self) -> &CategoryScoreDetails
[src]
pub fn clear_food_used(&mut self)
[src]
pub fn has_food_used(&self) -> bool
[src]
pub fn set_food_used(&mut self, v: CategoryScoreDetails)
[src]
pub fn mut_food_used(&mut self) -> &mut CategoryScoreDetails
[src]
pub fn take_food_used(&mut self) -> CategoryScoreDetails
[src]
pub fn get_killed_minerals(&self) -> &CategoryScoreDetails
[src]
pub fn clear_killed_minerals(&mut self)
[src]
pub fn has_killed_minerals(&self) -> bool
[src]
pub fn set_killed_minerals(&mut self, v: CategoryScoreDetails)
[src]
pub fn mut_killed_minerals(&mut self) -> &mut CategoryScoreDetails
[src]
pub fn take_killed_minerals(&mut self) -> CategoryScoreDetails
[src]
pub fn get_killed_vespene(&self) -> &CategoryScoreDetails
[src]
pub fn clear_killed_vespene(&mut self)
[src]
pub fn has_killed_vespene(&self) -> bool
[src]
pub fn set_killed_vespene(&mut self, v: CategoryScoreDetails)
[src]
pub fn mut_killed_vespene(&mut self) -> &mut CategoryScoreDetails
[src]
pub fn take_killed_vespene(&mut self) -> CategoryScoreDetails
[src]
pub fn get_lost_minerals(&self) -> &CategoryScoreDetails
[src]
pub fn clear_lost_minerals(&mut self)
[src]
pub fn has_lost_minerals(&self) -> bool
[src]
pub fn set_lost_minerals(&mut self, v: CategoryScoreDetails)
[src]
pub fn mut_lost_minerals(&mut self) -> &mut CategoryScoreDetails
[src]
pub fn take_lost_minerals(&mut self) -> CategoryScoreDetails
[src]
pub fn get_lost_vespene(&self) -> &CategoryScoreDetails
[src]
pub fn clear_lost_vespene(&mut self)
[src]
pub fn has_lost_vespene(&self) -> bool
[src]
pub fn set_lost_vespene(&mut self, v: CategoryScoreDetails)
[src]
pub fn mut_lost_vespene(&mut self) -> &mut CategoryScoreDetails
[src]
pub fn take_lost_vespene(&mut self) -> CategoryScoreDetails
[src]
pub fn get_friendly_fire_minerals(&self) -> &CategoryScoreDetails
[src]
pub fn clear_friendly_fire_minerals(&mut self)
[src]
pub fn has_friendly_fire_minerals(&self) -> bool
[src]
pub fn set_friendly_fire_minerals(&mut self, v: CategoryScoreDetails)
[src]
pub fn mut_friendly_fire_minerals(&mut self) -> &mut CategoryScoreDetails
[src]
pub fn take_friendly_fire_minerals(&mut self) -> CategoryScoreDetails
[src]
pub fn get_friendly_fire_vespene(&self) -> &CategoryScoreDetails
[src]
pub fn clear_friendly_fire_vespene(&mut self)
[src]
pub fn has_friendly_fire_vespene(&self) -> bool
[src]
pub fn set_friendly_fire_vespene(&mut self, v: CategoryScoreDetails)
[src]
pub fn mut_friendly_fire_vespene(&mut self) -> &mut CategoryScoreDetails
[src]
pub fn take_friendly_fire_vespene(&mut self) -> CategoryScoreDetails
[src]
pub fn get_used_minerals(&self) -> &CategoryScoreDetails
[src]
pub fn clear_used_minerals(&mut self)
[src]
pub fn has_used_minerals(&self) -> bool
[src]
pub fn set_used_minerals(&mut self, v: CategoryScoreDetails)
[src]
pub fn mut_used_minerals(&mut self) -> &mut CategoryScoreDetails
[src]
pub fn take_used_minerals(&mut self) -> CategoryScoreDetails
[src]
pub fn get_used_vespene(&self) -> &CategoryScoreDetails
[src]
pub fn clear_used_vespene(&mut self)
[src]
pub fn has_used_vespene(&self) -> bool
[src]
pub fn set_used_vespene(&mut self, v: CategoryScoreDetails)
[src]
pub fn mut_used_vespene(&mut self) -> &mut CategoryScoreDetails
[src]
pub fn take_used_vespene(&mut self) -> CategoryScoreDetails
[src]
pub fn get_total_used_minerals(&self) -> &CategoryScoreDetails
[src]
pub fn clear_total_used_minerals(&mut self)
[src]
pub fn has_total_used_minerals(&self) -> bool
[src]
pub fn set_total_used_minerals(&mut self, v: CategoryScoreDetails)
[src]
pub fn mut_total_used_minerals(&mut self) -> &mut CategoryScoreDetails
[src]
pub fn take_total_used_minerals(&mut self) -> CategoryScoreDetails
[src]
pub fn get_total_used_vespene(&self) -> &CategoryScoreDetails
[src]
pub fn clear_total_used_vespene(&mut self)
[src]
pub fn has_total_used_vespene(&self) -> bool
[src]
pub fn set_total_used_vespene(&mut self, v: CategoryScoreDetails)
[src]
pub fn mut_total_used_vespene(&mut self) -> &mut CategoryScoreDetails
[src]
pub fn take_total_used_vespene(&mut self) -> CategoryScoreDetails
[src]
pub fn get_total_damage_dealt(&self) -> &VitalScoreDetails
[src]
pub fn clear_total_damage_dealt(&mut self)
[src]
pub fn has_total_damage_dealt(&self) -> bool
[src]
pub fn set_total_damage_dealt(&mut self, v: VitalScoreDetails)
[src]
pub fn mut_total_damage_dealt(&mut self) -> &mut VitalScoreDetails
[src]
pub fn take_total_damage_dealt(&mut self) -> VitalScoreDetails
[src]
pub fn get_total_damage_taken(&self) -> &VitalScoreDetails
[src]
pub fn clear_total_damage_taken(&mut self)
[src]
pub fn has_total_damage_taken(&self) -> bool
[src]
pub fn set_total_damage_taken(&mut self, v: VitalScoreDetails)
[src]
pub fn mut_total_damage_taken(&mut self) -> &mut VitalScoreDetails
[src]
pub fn take_total_damage_taken(&mut self) -> VitalScoreDetails
[src]
pub fn get_total_healed(&self) -> &VitalScoreDetails
[src]
pub fn clear_total_healed(&mut self)
[src]
pub fn has_total_healed(&self) -> bool
[src]
pub fn set_total_healed(&mut self, v: VitalScoreDetails)
[src]
pub fn mut_total_healed(&mut self) -> &mut VitalScoreDetails
[src]
pub fn take_total_healed(&mut self) -> VitalScoreDetails
[src]
pub fn get_current_apm(&self) -> f32
[src]
pub fn clear_current_apm(&mut self)
[src]
pub fn has_current_apm(&self) -> bool
[src]
pub fn set_current_apm(&mut self, v: f32)
[src]
pub fn get_current_effective_apm(&self) -> f32
[src]
pub fn clear_current_effective_apm(&mut self)
[src]
pub fn has_current_effective_apm(&self) -> bool
[src]
pub fn set_current_effective_apm(&mut self, v: f32)
[src]
Trait Implementations
impl Clear for ScoreDetails
[src]
impl Clone for ScoreDetails
[src]
fn clone(&self) -> ScoreDetails
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ScoreDetails
[src]
impl Default for ScoreDetails
[src]
fn default() -> ScoreDetails
[src]
impl<'a> Default for &'a ScoreDetails
[src]
fn default() -> &'a ScoreDetails
[src]
impl Message for ScoreDetails
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> ScoreDetails
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static ScoreDetails
[src]
pub fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>
[src]
pub fn write_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
pub fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
pub fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>
[src]
pub fn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>
[src]
pub fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
pub fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
pub fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
[src]
pub fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
[src]
pub fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
[src]
&self
) -> Result<Vec<u8, Global>, ProtobufError>
pub fn type_id(&self) -> TypeId
[src]
impl PartialEq<ScoreDetails> for ScoreDetails
[src]
fn eq(&self, other: &ScoreDetails) -> bool
[src]
fn ne(&self, other: &ScoreDetails) -> bool
[src]
impl ProtobufValue for ScoreDetails
[src]
fn as_ref(&self) -> ReflectValueRef<'_>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn is_non_zero(&self) -> bool
[src]
pub fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
impl StructuralPartialEq for ScoreDetails
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScoreDetails
[src]
impl Send for ScoreDetails
[src]
impl Sync for ScoreDetails
[src]
impl Unpin for ScoreDetails
[src]
impl UnwindSafe for ScoreDetails
[src]
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> 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>,