pub struct ChampionStats {Show 29 fields
pub ability_power: f64,
pub armor: f64,
pub armor_penetration_flat: f64,
pub attack_damage: f64,
pub attack_range: f64,
pub attack_speed: f64,
pub bonus_armor_penetration_percent: f64,
pub bonus_magic_penetration_percent: f64,
pub crit_chance: f64,
pub crit_damage: f64,
pub current_health: f64,
pub heal_shield_power: Option<f64>,
pub health_regen_rate: f64,
pub life_steal: f64,
pub magic_lethality: f64,
pub magic_penetration_flat: f64,
pub magic_penetration_percent: f64,
pub magic_resist: f64,
pub max_health: f64,
pub move_speed: f64,
pub omnivamp: Option<f64>,
pub physical_lethality: f64,
pub physical_vamp: Option<f64>,
pub resource_max: f64,
pub resource_regen_rate: f64,
pub resource_type: String,
pub resource_value: f64,
pub spell_vamp: f64,
pub tenacity: f64,
}Fields§
§ability_power: f64§armor: f64§armor_penetration_flat: f64§attack_damage: f64§attack_range: f64§attack_speed: f64§bonus_armor_penetration_percent: f64§bonus_magic_penetration_percent: f64§crit_chance: f64§crit_damage: f64§current_health: f64§heal_shield_power: Option<f64>§health_regen_rate: f64§life_steal: f64§magic_lethality: f64§magic_penetration_flat: f64§magic_penetration_percent: f64§magic_resist: f64§max_health: f64§move_speed: f64§omnivamp: Option<f64>§physical_lethality: f64§physical_vamp: Option<f64>§resource_max: f64§resource_regen_rate: f64§resource_type: String§resource_value: f64§spell_vamp: f64§tenacity: f64Trait Implementations§
Source§impl Clone for ChampionStats
impl Clone for ChampionStats
Source§fn clone(&self) -> ChampionStats
fn clone(&self) -> ChampionStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChampionStats
impl Debug for ChampionStats
Source§impl<'de> Deserialize<'de> for ChampionStats
impl<'de> Deserialize<'de> for ChampionStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChampionStats
impl PartialEq for ChampionStats
Source§fn eq(&self, other: &ChampionStats) -> bool
fn eq(&self, other: &ChampionStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChampionStats
Auto Trait Implementations§
impl Freeze for ChampionStats
impl RefUnwindSafe for ChampionStats
impl Send for ChampionStats
impl Sync for ChampionStats
impl Unpin for ChampionStats
impl UnsafeUnpin for ChampionStats
impl UnwindSafe for ChampionStats
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