pub struct ChampionStats { /* private fields */ }
Implementations§
Source§impl ChampionStats
impl ChampionStats
pub fn ability_power(&self) -> f64
pub fn armor(&self) -> f64
pub fn armor_penetration_flat(&self) -> f64
pub fn armor_penetration_percent(&self) -> f64
pub fn attack_damage(&self) -> f64
pub fn attack_range(&self) -> f64
pub fn attack_speed(&self) -> f64
pub fn bonus_armor_penetration_percent(&self) -> f64
pub fn bonus_magic_penetration_percent(&self) -> f64
pub fn cooldown_reduction(&self) -> f64
pub fn crit_chance(&self) -> f64
pub fn crit_damage(&self) -> f64
pub fn current_health(&self) -> f64
pub fn health_regen_rate(&self) -> f64
pub fn life_steal(&self) -> f64
pub fn magic_lethality(&self) -> f64
pub fn magic_penetration_flat(&self) -> f64
pub fn magic_penetration_percent(&self) -> f64
pub fn magic_resist(&self) -> f64
pub fn max_health(&self) -> f64
pub fn move_speed(&self) -> f64
pub fn physical_lethality(&self) -> f64
pub fn resource_max(&self) -> f64
pub fn resource_regen_rate(&self) -> f64
pub fn resource_type(&self) -> &str
pub fn resource_value(&self) -> f64
pub fn spell_vamp(&self) -> f64
pub fn tenacity(&self) -> f64
Trait Implementations§
Source§impl Clone for ChampionStats
impl Clone for ChampionStats
Source§fn clone(&self) -> ChampionStats
fn clone(&self) -> ChampionStats
Returns a copy of the value. Read more
1.0.0 · 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 Default for ChampionStats
impl Default for ChampionStats
Source§fn default() -> ChampionStats
fn default() -> ChampionStats
Returns the “default value” for a type. Read more
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§impl Serialize for ChampionStats
impl Serialize for ChampionStats
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 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