pub struct HeroValues { /* private fields */ }Expand description
The validated hero-value set of one client version.
Implementations§
Source§impl HeroValues
impl HeroValues
Sourcepub fn health(&self, hero: impl AsRef<str>, pool: HealthPool) -> Option<f64>
pub fn health(&self, hero: impl AsRef<str>, pool: HealthPool) -> Option<f64>
Health points of one pool, or None when the file holds no such value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HeroValues
impl RefUnwindSafe for HeroValues
impl Send for HeroValues
impl Sync for HeroValues
impl Unpin for HeroValues
impl UnsafeUnpin for HeroValues
impl UnwindSafe for HeroValues
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