pub(crate) struct HealResult {
pub requested: f64,
pub modified: f64,
pub absorbed: f64,
pub effective: f64,
pub overheal: f64,
pub is_crit: bool,
}Expand description
Result of one healing event.
Fields§
§requested: f64§modified: f64§absorbed: f64§effective: f64§overheal: f64§is_crit: boolTrait Implementations§
Source§impl Clone for HealResult
impl Clone for HealResult
Source§fn clone(&self) -> HealResult
fn clone(&self) -> HealResult
Returns a duplicate 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 HealResult
impl Debug for HealResult
Source§impl Default for HealResult
impl Default for HealResult
Source§fn default() -> HealResult
fn default() -> HealResult
Returns the “default value” for a type. Read more
Source§impl PartialEq for HealResult
impl PartialEq for HealResult
impl Copy for HealResult
impl StructuralPartialEq for HealResult
Auto Trait Implementations§
impl Freeze for HealResult
impl RefUnwindSafe for HealResult
impl Send for HealResult
impl Sync for HealResult
impl Unpin for HealResult
impl UnsafeUnpin for HealResult
impl UnwindSafe for HealResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more