pub enum Vitality {
Down,
Bloodied,
Hurt,
Unhurt,
}Expand description
How hurt a combatant looks, without the numbers.
Variants§
Implementations§
Trait Implementations§
Source§impl Ord for Vitality
impl Ord for Vitality
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Vitality
impl PartialOrd for Vitality
impl Copy for Vitality
impl Eq for Vitality
impl StructuralPartialEq for Vitality
Auto Trait Implementations§
impl Freeze for Vitality
impl RefUnwindSafe for Vitality
impl Send for Vitality
impl Sync for Vitality
impl Unpin for Vitality
impl UnsafeUnpin for Vitality
impl UnwindSafe for Vitality
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.